From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sLYMMhaUdWKcIQAAbAwnHQ (envelope-from ) for ; Fri, 06 May 2022 23:33:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id UJEGMRaUdWLF+wAAG6o9tA (envelope-from ) for ; Fri, 06 May 2022 23:33:10 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 68E6F3CF64 for ; Fri, 6 May 2022 23:33:10 +0200 (CEST) Received: from localhost ([::1]:56032 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nn5ZV-0005ZR-Fg for larch@yhetil.org; Fri, 06 May 2022 17:33:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nn5ZK-0005Z4-Qq for guix-devel@gnu.org; Fri, 06 May 2022 17:32:58 -0400 Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]:38804) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nn5ZJ-0003S8-6c for guix-devel@gnu.org; Fri, 06 May 2022 17:32:58 -0400 Received: by mail-ej1-x631.google.com with SMTP id n10so16719744ejk.5 for ; Fri, 06 May 2022 14:32:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=Mv8BI/DORM+/soyAFtzyu+32DdrVeOfq96jepMDFXcs=; b=Lnz8L5vhELLrspEaMii3jH2xf4MxRwQIfiCaHIizQEatysKDy0OxuRYM3FyfKmq229 zVMcMHX+tmF/++2T74CdGsWb+/Dr69YKgLNvHBRRvvQ/kj/6GK/HCLUAHfqRgo6nbuyc xCJgAwqwuSTvtsbX+NpyqqfMzcI+uR/Oz1yxBOUpvMfFKaAK2yL6ogFM+DDpOWJF0K6v gl0oX78LWmvN1jOSkqh9hWi2Gt9i8B4DLU+B0W32vLj7bUtAuUDkCV20kSFlpbjszriA YWc8oCDSH8PT2eGyr7SAbPRzRFaxZLCyHO0XRG+YCLk2OlIWqHjf6VsMqR51JvxLfsLI WXGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=Mv8BI/DORM+/soyAFtzyu+32DdrVeOfq96jepMDFXcs=; b=DOOp+CX/UL8BzYtOKBuH2Lfmog9GkvT5prQ0Pl2UkI25hp/sI9gbpUTcfqT0It6PiQ hDkd68Rjlboc2DBScz6/nlvUvPwyeQIG6PVTjMxme08mfcKUQs0wKuxQA3JuKwe7pU4a CIb3LOAKCsO3RmrKzudGhngbLgcVAPBinVw3zGkwi/PIMoW+8vfCnpLWYqAB2GHoU+QH RDRFQKyYHCA/ATm4xGjzwXbRQxPArAt0SM4OPbBqLVhUI+jyb35Sg2mFyxBmC6ba7Uw0 Kiym+aGjjIe1B9HLf/CyyZQ0lkp1lDe2w20IoHrcm4Z6dx8D83ppTKOSIcydILqtww7m bUJg== X-Gm-Message-State: AOAM531PcscbV7zu4tpak+ZWIh5WuWCUgts9ZWitqH3KXcA2mYlPab4f O+o5KmHZjIjt+nxaWVnWKes= X-Google-Smtp-Source: ABdhPJzxS2ncXoAW/jLqTlsLTGkyI4EFoHQw2LNM2HRQGMDZUQw1vFc3pzPNuEu5dNSyPDS6J3umLw== X-Received: by 2002:a17:906:3adb:b0:6b7:876c:d11b with SMTP id z27-20020a1709063adb00b006b7876cd11bmr4830629ejd.250.1651872775338; Fri, 06 May 2022 14:32:55 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id jx3-20020a170907760300b006f3ef214e22sm2259793ejc.136.2022.05.06.14.32.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 May 2022 14:32:54 -0700 (PDT) Message-ID: <08bbdf58ca44241d1e14236201d6c5cb6a336e91.camel@gmail.com> Subject: Re: Multiple profiles with Guix Home From: Liliana Marie Prikler To: Maxime Devos , guix-devel@gnu.org Date: Fri, 06 May 2022 23:32:53 +0200 In-Reply-To: <15dfb5937854ca9829d919ba2f92fecaa4eedaee.camel@telenet.be> References: <550e75e83ee9c154766294779c8fd0b5f3715355.camel@telenet.be> <06de1b665cea1f4ca6e2b032168a38f7dbf8a82a.camel@telenet.be> <4fd13e93eddb301528b2ef10735090a098043f37.camel@gmail.com> <02a9ca4aed99618b2595176edd6b500229c13072.camel@gmail.com> <15dfb5937854ca9829d919ba2f92fecaa4eedaee.camel@telenet.be> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::631; envelope-from=liliana.prikler@gmail.com; helo=mail-ej1-x631.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651872790; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Mv8BI/DORM+/soyAFtzyu+32DdrVeOfq96jepMDFXcs=; b=TkXQtE5DqEoICuMuCTzj7AG1L3FBKcguqBfaAtw+dmk28Bw5IGhHTORMC2bsW0JVZ7txV9 Mn4OzKudc9SUp/5PDCKTaGMgjDVHCxp5HdsuyAgBZYsBrEGzqybHS3IrV4qQ6O1kkeih9x YWLXDSNURWyExS/aXKzu2neKQBoNtQTpWIxhvCxf0MMJdOrZjuGrLB5XWCXLK8ld9GsjaP DyKmaaBCETzYpDQBcjDE5i99wqqDUT/ZS2djGi/7Py+r0QDU9T/26/ngkSU7W1vBMnO35T 8DN3YeuM7GQVlbyDKd5HGbKjuOfO/1TAXpqgGKeJrnATf0g+H+zsnz4IagWZcQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651872790; a=rsa-sha256; cv=none; b=iIitrFZo/JvKKN4AL1Vb91v98Kiy0Q0IcWw7i6eX6J4SHiV7xGZys08sF1ytN0n637+COQ BHeO8Jht4fZIxWvQ4CNP+0Yfke3ec3hW7aaa6ibLTamExa75G3EIyCPVZiaLxWU05Calms LTcNPG94BCdYSh/uuOfGZsp/qC+xkuSl6ATFt5/Wcxa5xwSyAgtJTg70fDYDhcM+3oWLyd 9PYeglzXaWCOij72dL/liYmUyYfDzfC7JzUPRWpn2BoBKPwz4WiUNHq0I7k29NbaLzBEVM f7hf8trAZPfv32fYybEDihCiLSbYbU42c6iB7P+Vor4w3QXOHkOnW4Ul5U79Sw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Lnz8L5vh; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.00 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Lnz8L5vh; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 68E6F3CF64 X-Spam-Score: -4.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: 0XI4WOtWIih6 Am Freitag, dem 06.05.2022 um 21:54 +0200 schrieb Maxime Devos: > Liliana Marie Prikler schreef op vr 06-05-2022 om 20:40 [+0200]: > > Note that 'applications' is not really a useful category. > > It is a clear thematic division to me.  Though it's a bit large, > maybe 'applications' could be divided futher in more specific themes > (‘office’ apps, games, terminal utilities, ...). Yeah, that division makes more sense, but note that none of the categories you cited call specifically for SSL_CERT_DIR/FILE. It really is curl, which you might categorize as "terminal utility", but more accurately fits into "web" along with nss-certs, for example. > > But what's more both nss-certs, glibc-locales and other packages > > that on their own provide everything you need in a search path can > > already be handled easily with existing mechanisms of Guix Home. > > I haven't found any such mechanism -- I haven't found any hits for > 'GUIX_LOCPATH' or SSL_CERT_DIR/FILE'.  At most I've found > 'environment-variables->setup-environment-script', but as user I just > want to add packages to a profile and have it work without having to > manually fiddle with environemnt variables. I'm pretty sure Guix Home allows you to write your bashrc with gexps, no? So you could put (string-append "export SSL_CERT_DIR=" #$nss-certs "/etc/ssl/certs") in there IIRC. > > This is not a use case that calls for multiple profiles > > A separate 'data' profile looks like a use case for multiple thematic > profiles to me.  As I understood it, being able to separate profiles > as you like is the point of the proposed Guix Home?  Why prevent the > user from making a ‘data’ profile?  Maybe a separate profile for time > zones, certificates and locales doesn't seem useful to you, but it > seems a practical subdivison to me. Perhaps, but this requires more than simply a declarative way of managing profiles, which is the main point here. It would require search-paths as first class citizens of profiles in addition to that, which I already mentioned a few times in between. > > and the fix to missing these single packages (assuming you want it > > expressed solely in terms of profiles) would be to add them back to > > the default profile  > > Merging the 'data' profile (or other profiles) back into another > profile kind of defeats the purpose of aseparate profiles.  What if I > don't have any default profile (or if a default profile is > technically required, keep it empty)? Well, even if you name it "data" your data profile would then be the de facto default profile. For the record, I'm not saying that the default profile in ~/.guix-profile would be a hard requirement going forward, because to a certain extent, managing multiple profiles with Guix Home already addresses both the choice of its name and its location. What it does not (yet) address is the fact that you'll probably have a kitchen sink profile left after neatly sorting all the other packages into themes. For now this seems to be as much a technical limitation as it is a condition of human nature. I'm fairly certain that we'll start to see such extensions once we've implemented the system and people are dissatisfied with the fact that they can't have a meaningful data profile – thus either extending the home-profile-service-type to account for those or finding other solutions that compose well through guix home or guix itself. Cheers