From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id WGdvHJiNZGfuMwEAqHPOHw:P1 (envelope-from ) for ; Thu, 19 Dec 2024 21:18:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id WGdvHJiNZGfuMwEAqHPOHw (envelope-from ) for ; Thu, 19 Dec 2024 22:18:16 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Anj5PU93; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734643096; 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=Hu9RHibYviHZ0awHCgM48G4NuyifEkAVnfdwYpQcpPg=; b=gcdKNlzvcMNHtdXW+n7hS+ItAJcfcR/nAgFSfqOisSEvl/e1wKXJfywMWbh9GzxS/y68NN GiqnxbHrzL4Ns8MKlxcFY5qpsO5o4cEM9DNJrdWWCBZO53C+bceFA7II0pU+MtFr7fih1s 0gN6u/vZjaC974Jgs0NPwPNAoB+xsKyOyjOBf+hSuhKCjpwKU43fuDNFHb8Vlps8mKs6PF Zv5Jhb5Xxcqd9Noqt7jEMzr0GdKNkscGCl1yAMt3i8EumzxhlmpAjt9tUtVV9N4LebnTzS o4eRpWEF1p0u8zEQ2xo3vXhPbNhiX0PnkuLet24hFljsWgogVhqMaXW99qNIXA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Anj5PU93; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734643096; a=rsa-sha256; cv=none; b=ZGA4oCrWWrcaFuB3go+JhH6GeX/bAaKgMBSsigzl9cK1sY9zF6fs/nO5W4crFmWYYJZ+Ui G64SY++THPDA2Ahtcx7Y1IHAJ/uSS47DF7bcdsM7v8G2sqWqbixI67BBWKlDMBnP+MDxXY szDEXQDw/fExaj69xZ5yQvO1ApExVsVdkjfZJBugIFengbc3+rEBfoAeAV4yofRaDwk02m Td95Vw5tj6bN3108gwLu6nNUX8COIXHPMOqZNRwM0UieXF5sPxKkFK8Q7WnP5MWkVZJ6ZQ wodnmywOnHNak3cPms40Ru28lXSIxFa/Sx0koUbtMGyTNuDIEdlBB3IRzPAb2Q== 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 3F7247DC7C for ; Thu, 19 Dec 2024 22:18:16 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tONuI-0001Mr-0f; Thu, 19 Dec 2024 16:18:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tONuE-0001MS-KI for bug-guix@gnu.org; Thu, 19 Dec 2024 16:18:02 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tONuE-0008Ac-BW for bug-guix@gnu.org; Thu, 19 Dec 2024 16:18:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=Hu9RHibYviHZ0awHCgM48G4NuyifEkAVnfdwYpQcpPg=; b=Anj5PU93RwMeHorxIQ6FT2Lx8kjaiXoM03QpcHXvdql2d1WDl+z3KaMsR7hW6nchim5j9KtjhLa5EG8NmozzF5ESccxTY+xOS/3g+ugMs30I+wzaLpJcivnw20dteqQUSxWOYVcp9vwZtGaaiy5QVmtwYq22EvrgSdCZqugTpjY9qylQE18SnOrkRKgozVby9h+z6DcPUHHIkX5ZlRNXzkCsxygefEClQc68QIZfcGX+6/lkbWGDR9V0ZheAqD+mFXTr9M46XYtSAd0e4sdmW0n/LugJOzl9gYzpX824D+jb3PL5NQU4xYgRWy3lcg7yZtMCnARdPRBeCnQh+6PwLw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tONuE-0005Im-5C for bug-guix@gnu.org; Thu, 19 Dec 2024 16:18:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#74980: [PATCH] home: container: Create symlink to .guix-home/profile. References: <87zfkrz8ab.fsf@erlikon.ch> In-Reply-To: <87zfkrz8ab.fsf@erlikon.ch> Resent-From: Gabriel Wicki Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 19 Dec 2024 21:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74980 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 74980@debbugs.gnu.org Received: via spool by 74980-submit@debbugs.gnu.org id=B74980.173464305820340 (code B ref 74980); Thu, 19 Dec 2024 21:18:02 +0000 Received: (at 74980) by debbugs.gnu.org; 19 Dec 2024 21:17:38 +0000 Received: from localhost ([127.0.0.1]:40314 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tONtq-0005I0-Jk for submit@debbugs.gnu.org; Thu, 19 Dec 2024 16:17:38 -0500 Received: from cotopaxi.ee.ethz.ch ([129.132.148.196]:45821) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tONto-0005Hm-Kg for 74980@debbugs.gnu.org; Thu, 19 Dec 2024 16:17:37 -0500 Received: from localhost (antispam.ee.ethz.ch [129.132.2.16]) by cotopaxi.ee.ethz.ch (Postfix) with ESMTP id C8FB120072 for <74980@debbugs.gnu.org>; Thu, 19 Dec 2024 22:17:30 +0100 (CET) X-Virus-Scanned: by amavisd at antispam.ee.ethz.ch Received: from cotopaxi.ee.ethz.ch ([129.132.148.196]) by localhost (antispam.ee.ethz.ch [129.132.2.16]) (amavisd-new, port 10028) with ESMTP id VguLAC0BRgpU for <74980@debbugs.gnu.org>; Thu, 19 Dec 2024 22:17:29 +0100 (CET) Received: from blackbox (212-51-128-25.fiber7.init7.net [212.51.128.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: gabriel) by cotopaxi.ee.ethz.ch (Postfix) with ESMTPSA for <74980@debbugs.gnu.org>; Thu, 19 Dec 2024 22:17:29 +0100 (CET) From: Gabriel Wicki Date: Thu, 19 Dec 2024 22:00:28 +0100 Message-ID: <87wmfvz82e.fsf@erlikon.ch> 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: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -0.64 X-Spam-Score: -0.64 X-Migadu-Queue-Id: 3F7247DC7C X-TUID: Fn2xWSZvgqJJ * guix/scripts/home.scm: Create the symlink. Change-Id: Ib299c53f7cd0ca6ad204325b5c150d579224afd7 --- guix/scripts/home.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/guix/scripts/home.scm b/guix/scripts/home.scm index b4c82d275f..50aaf2abf6 100644 --- a/guix/scripts/home.scm +++ b/guix/scripts/home.scm @@ -344,6 +344,10 @@ (define* (spawn-home-container home (primitive-load (string-append #$home "/activate")) (setenv "GUIX_NEW_HOME" #f) + (system* "ln" "-s" + (string-append #$home-directory "/.guix-home/profile") + (string-append #$home-directory "/.guix-profile")) + (when term ;; Preserve TERM for proper interactive use. (setenv "TERM" term)) base-commit: c3290cee6add60b7e56f5f919d9498d78542790a -- 2.46.0