From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mEDlLbBNM2LjCwAAgWs5BA (envelope-from ) for ; Thu, 17 Mar 2022 16:03:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id CLUmK7BNM2I/YgAA9RJhRA (envelope-from ) for ; Thu, 17 Mar 2022 16:03:12 +0100 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 620DD2E6C2 for ; Thu, 17 Mar 2022 16:03:12 +0100 (CET) Received: from localhost ([::1]:44996 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nUreg-0004ge-Pl for larch@yhetil.org; Thu, 17 Mar 2022 11:03:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43666) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nUrda-0004ck-5p for guix-patches@gnu.org; Thu, 17 Mar 2022 11:02:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:32826) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nUrdZ-0006X6-Rk for guix-patches@gnu.org; Thu, 17 Mar 2022 11:02:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nUrdZ-0000fs-Ls for guix-patches@gnu.org; Thu, 17 Mar 2022 11:02:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54377] [PATCH 0/3] Add 'guix home container' References: <20220313215259.9394-1-ludo@gnu.org> In-Reply-To: <20220313215259.9394-1-ludo@gnu.org> Resent-From: Frank Pursel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 17 Mar 2022 15:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54377 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54377@debbugs.gnu.org Received: via spool by 54377-submit@debbugs.gnu.org id=B54377.16475292852548 (code B ref 54377); Thu, 17 Mar 2022 15:02:01 +0000 Received: (at 54377) by debbugs.gnu.org; 17 Mar 2022 15:01:25 +0000 Received: from localhost ([127.0.0.1]:54956 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUrcz-0000f1-K0 for submit@debbugs.gnu.org; Thu, 17 Mar 2022 11:01:25 -0400 Received: from mail-pj1-f43.google.com ([209.85.216.43]:37542) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUrcy-0000eo-DF for 54377@debbugs.gnu.org; Thu, 17 Mar 2022 11:01:24 -0400 Received: by mail-pj1-f43.google.com with SMTP id mz9-20020a17090b378900b001c657559290so5454154pjb.2 for <54377@debbugs.gnu.org>; Thu, 17 Mar 2022 08:01:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version; bh=HqyGZley4oHlfp07RzVEUSEvsKXPBMas0mCUlDTCHuE=; b=IWInRv42Ap+PW2WyZiI8KmWhC+Yc6eNYT6VI4WrDxbSvSCFN2iNdfhVr/L1JTQ4bon IFxISRmlcoxydowr/bDo6ebMypMNLToHiQIJm+yRxuIo0EAFVWek0qKZq4VJJZ6IpkMZ MfYsFei9q/wWiVFgOMRaBvin6EH8TltEci5L6AoIHZJrDTFMXX9EprfkYUEwG8klgBLp xUI8EUdSips6Yr25yjiUEOL5Jla+cUlV5f6rZRTGMDGZgrwTA5auDVnab+6KCPvvyqYq 9gUAcjFYbzDMDkINR3t4B+r+CC/zhGI2anA+SvV42vFSI7jx/USBXhKdFge+bx9QI9HE w3ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=HqyGZley4oHlfp07RzVEUSEvsKXPBMas0mCUlDTCHuE=; b=lM4Hl0dPVLM6JrzwFZtkmPmOCkKWbowv5pIu8TjRbWbsEYzsA6HTohvXFOPAfXqMLf bV08aWv23u/98SiNBm+lhpdyxGgFJGM3RFtyH/swE1ujdXONYZ0Gqx4/Jd5C2I8peBZa cWPUiQYEewfD/Rsuq9uKfEblyScOTRFZo+s+GN180nFdkyrLAzicTvlcTP9KywO89O8U UXOD/wsu/G6ZS4s3ZJCWC52Mu+fm6/W/E0iaO7mI4AxuU4D6TlAbcCUniU215aW2Tvwi dUhJ+wusrBCqusOdI640O4b1Hzb9PAHOUdvkQYssCXkDwqQxJBAHyVV+78/1ZRnqsfe6 kHbQ== X-Gm-Message-State: AOAM530J6bBsY4HtsAFjdsnh3qNpfUVUpDPhKjxCzR3MGVK6nx/mdGLi AxBtKYoVkQ9rJxx6lT6hZqk= X-Google-Smtp-Source: ABdhPJwGbP41UsQ4fJAbynLC1Xt0g/mCNZfbH+9o4yzGdIf+ghbqEi6AbrjkH+Sg8I3Mi+dmqsodtg== X-Received: by 2002:a17:902:f549:b0:151:f9ce:4ec1 with SMTP id h9-20020a170902f54900b00151f9ce4ec1mr5041229plf.3.1647529277997; Thu, 17 Mar 2022 08:01:17 -0700 (PDT) Received: from Ginko.local ([66.170.190.211]) by smtp.gmail.com with ESMTPSA id lp13-20020a17090b4a8d00b001c18b1114c8sm10121257pjb.10.2022.03.17.08.01.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Mar 2022 08:01:17 -0700 (PDT) From: Frank Pursel Date: Thu, 17 Mar 2022 08:01:16 -0700 Message-ID: <871qz0vd1f.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" 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=1647529392; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=HqyGZley4oHlfp07RzVEUSEvsKXPBMas0mCUlDTCHuE=; b=Owov02ssUZI7pKvkyxv0Yno8oYCRYSLw57YjXrI6e7UXEhfWxkuhP61zWIOjQZRTu+7b8r hf69/lWASEWI2W1XFxNQ5WMaH/bk4V4akUPkPQSgACNR3ci0lpG7LiMyOmL0msNbizxEbW CQTK6ew7ZhiBCG3YPftq6nTXb0eKStOl/2u8WOdVvwMd6YmnMDwLS2acbJSkaBHH6+2hR+ STEbjp1MAFlvQD38fhykMZgpE5xTMgdO2N9QtlA1qUCPxaP9LHkT9dn3fTWnhbJDMi5hEw Gv1FRwMMhEDT9QqIIlKgFMSG6zo6stH5Mka7UwcB2C4SAABzCosACFSBefIajQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647529392; a=rsa-sha256; cv=none; b=PDOjSinrks+pvmkrEmXdgJMTSjG2Sx5g4puKkfafpCAkCB0bRnt5ZiIC/mXnTnHEGg9Vd9 JAvcQfxP+Ls9KE/EtGRlcxIz2BrrKrznV5oEP1xxC11ahfstvnLV6vCXEpuWNGklp3M1wN E3IE85B1VIcOoRE3ToNud9zlXn1MoapboP+VZ0x+udYTyvl0FpTGsjgSYIVbZUCVdDL+pk FBxyJLWEYlnhAWdqt1XyqHFHeWON+mBf2sxL3z07oYpGwUfAlntIWXdKOehN/J9yXv2Yql FT+F0DcNlTdUxRBiBAufUDG8I5/WmKpibvg/fsuKNF3SneF9TxyY+QpyYxLndg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=IWInRv42; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.95 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=IWInRv42; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 620DD2E6C2 X-Spam-Score: 5.95 X-Migadu-Scanner: scn1.migadu.com X-TUID: Kk2FCpYnRS2M Ludo, This is a very exciting idea. Entry into guix home has some wrinkles in it that are scary. I know it required several iterations over home-configuration.scm and 'guix home reconfigure' before I was able to make peace with my guix home. I see in irc that others are also experiencing challenges getting the environments where they want them to be. This patch allows more control over the adoption of guix home while also cleverly leveraging improvements to guix containers. Very cool, I want it! I ran this patch against my current, working home configuration to see what happened and I ran into a problem. My home-configuration.scm sets the GUIX_PACKAGE_PATH (using simple-service 'local-environment-variables) and then references packages that are in that path (in my case a package called emacs-ix). When I executed 'guix home container ' I received the following errors: guix home: error: emacs-ix: unknown package guix home: error: failed to load '/home/fpp/src/guix-home-config/home-configuration.scm': gnu/packages.scm:544:4: In procedure specification->package+output: IDK if this is the desired behavior. Can the environment set in config.scm be set before loading the packages that may modify the environment? Regards, Frank Pursel acrow#guix