From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 UKMFB+h+cWJHxAAAbAwnHQ (envelope-from ) for ; Tue, 03 May 2022 21:13:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id WHnwBuh+cWKGDwAAauVa8A (envelope-from ) for ; Tue, 03 May 2022 21:13:44 +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 BF5AB30098 for ; Tue, 3 May 2022 21:13:43 +0200 (CEST) Received: from localhost ([::1]:53878 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nlxxu-0003ER-Hx for larch@yhetil.org; Tue, 03 May 2022 15:13:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59574) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlxxU-0003EJ-VH for guix-devel@gnu.org; Tue, 03 May 2022 15:13:16 -0400 Received: from albert.telenet-ops.be ([2a02:1800:110:4::f00:1a]:39686) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nlxxS-00016W-MR for guix-devel@gnu.org; Tue, 03 May 2022 15:13:16 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by albert.telenet-ops.be with bizsmtp id SKD92700P4UW6Th06KD9YG; Tue, 03 May 2022 21:13:09 +0200 Message-ID: Subject: Re: Multiple profiles with Guix Home From: Maxime Devos To: Liliana Marie Prikler , Andrew Tropin , guix-devel@gnu.org Date: Tue, 03 May 2022 21:13:04 +0200 In-Reply-To: <8a42a0c84d35231b360a421fe0b846c8e1aa3d2c.camel@gmail.com> References: <8735hqvh4a.fsf@trop.in> <8a42a0c84d35231b360a421fe0b846c8e1aa3d2c.camel@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-nJn66FwfQzcw5vtpdltP" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1651605189; bh=1wdP4rB04NR0M5wpqHoU4K9+KDeWYGE591JJe9fommw=; h=Subject:From:To:Date:In-Reply-To:References; b=bPQeLCeNkOL9nr9s2/z/0IqJheTtATqIfYgxCk4xCx3OX78aPnPbE5qheWOD8Yeub 1AyVLs9K3qR7YXhk0ez1rlBtEwhKeCTNxBKsdGEM/t1a8//pVLJ3OF4DlFCcc4JWOy Zkw3FuWh9YTDimZEe1lKee6cZtRA+z1Fw6vrJ7qolQJt/Qlhe8KnShmBq+eZtJq3mR 4J0N33YIJ8flBdhTJPf2eb3Mr5M0sYb726syoGVH3vew/wugyjMfz43SJC7IMZI1JH b9cxRHoqh6gPwmRzACMEVDMBTJrd+ffuEDyO/B06zQh5wWKwya+t+EVt4agwktpCL0 rdAzexLELpyyA== Received-SPF: pass client-ip=2a02:1800:110:4::f00:1a; envelope-from=maximedevos@telenet.be; helo=albert.telenet-ops.be X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, 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=1651605223; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=1wdP4rB04NR0M5wpqHoU4K9+KDeWYGE591JJe9fommw=; b=jUrvog2Ft0DvXMj7cDxz1oducmUJTForusIQgXIph+jCV3vAfD7l0ZBS3yh+r1rt0EWlba otWpDIeMYReFG5bF9/uhH8CEGlHfPksRyQWQiWz8+pdyb5I+gygqAnv2750hI1bkvooXXK TNwrSV/QBN89/BhxIuuW2+ttkIsGt6mcDZNFyNKu+IHBLLGCHI/XiLwVmInArHOY+QmksK Tdoz6LBeyQfQMfgJs9hG4IZ2Ezsv5E1U0UwnQHPKaxdah6oOhRr5iBRqHjVI+B1kMQnJ3P B/6deD8iqO9ZApvyhmGsT9EfelAwCKRWo8M/H1OjkWpve9b9PbFsxGQvXjR+IQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651605223; a=rsa-sha256; cv=none; b=k8UCICmD3ipHeSgyW4SB83F2dGmzH33yJGhH9NcwqhZXcSOd11iO9HLsKzcx0sV/NfaCzB Vc2OcNV53TZY+F36+26AVQdC4qXqACwnODrO7UvOy2RO45mpFIwINm/xXKtKRd+KYL3WLl f5AMG3zXHbocAHgO5hdpovy/FENEmPu22fRyVNJdY1skCw6UBLC1Q69JRyG9OkKMVmR4Kb 9O0laP2MCDVae0skcpYkEHQGciNevHDjol2JLK0JtwAc4SO1br1DlpgMZNPGmwBScFWrSt iDRRRWP1eFm+PPA1g3xnZb/xhZcoKaF4ZoCTFmWNety0DYlwVg3vy+Tm0kKwaA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r22 header.b=bPQeLCeN; dmarc=pass (policy=none) header.from=telenet.be; 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: -6.18 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r22 header.b=bPQeLCeN; dmarc=pass (policy=none) header.from=telenet.be; 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: BF5AB30098 X-Spam-Score: -6.18 X-Migadu-Scanner: scn1.migadu.com X-TUID: fcJXtZoe3GkE --=-nJn66FwfQzcw5vtpdltP Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Liliana Marie Prikler schreef op di 03-05-2022 om 20:34 [+0200]: > > Also, cross-profile package installation can be error-prone, for > > example if user install an emacs in main profile and emacs packages > > in emacsy profile we will end up in a situation, where those emacs > > package aren't available in Emacs.=C2=A0 Probably some other issues wil= l > > become clearer during implementation. > The solution to that would be evaluating the search paths over all > enabled packages.=C2=A0 However, I do think it's fine to do as we did > before > for now; people are already used to this aspect of Guix, They shouldn't have to be. If there's a problem in the past that doesn't mean that it isn't a problem in the present anymore. Also, while I'm aware of this problem, it's only due to having looked at some Guix code, I don't mix profiles so I wouldn't have seen this problem otherwise. But if I didn't know the internals, started using Guix Home and saw some recommendation to split profiles, then I could end up with inscrutenable errors. > but the fact that they need to code up their own shell wrappers to > manage multiple profiles is not good optics imo. They don't have to code up shell wrappers or split profiles. They can just use a single profile. > [...]. If you do split your home in multiple > profiles however, you will benefit from faster union builds, which > themselves have quadratic complexity as a lower bound. Instead of working around quadratic behaviour, could we just make it linear behaviour? Also, why would the user need to split things, couldn't Guix do that automatically? Greetings, Maxime. --=-nJn66FwfQzcw5vtpdltP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYnF+wBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7o+tAP97zwlWzlE6GDT8PPaMJ4f7JGpo HQMegFHzLM59DRuK7gEAkX/C0UlFvTeptL/a8oic4bvgIdbKt9+TxyqvqwhmFgA= =SrQr -----END PGP SIGNATURE----- --=-nJn66FwfQzcw5vtpdltP--