From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iG4nMsvQ32IMSwEAbAwnHQ (envelope-from ) for ; Tue, 26 Jul 2022 13:32:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GMQAMsvQ32IeWQAAauVa8A (envelope-from ) for ; Tue, 26 Jul 2022 13:32:27 +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 A2B5AA067 for ; Tue, 26 Jul 2022 13:32:27 +0200 (CEST) Received: from localhost ([::1]:41472 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oGIna-0005fI-PU for larch@yhetil.org; Tue, 26 Jul 2022 07:32:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45712) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGIiM-0007sn-LF for guix-patches@gnu.org; Tue, 26 Jul 2022 07:27:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34397) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oGIiM-0005sQ-5z for guix-patches@gnu.org; Tue, 26 Jul 2022 07:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oGIiM-0005TU-0b for guix-patches@gnu.org; Tue, 26 Jul 2022 07:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56781] [PATCH] home: Add explicit dependency on env to activation script. Resent-From: Andrew Tropin Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 26 Jul 2022 11:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56781 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56781@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165883476220959 (code B ref -1); Tue, 26 Jul 2022 11:27:01 +0000 Received: (at submit) by debbugs.gnu.org; 26 Jul 2022 11:26:02 +0000 Received: from localhost ([127.0.0.1]:52379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGIhO-0005Rz-CL for submit@debbugs.gnu.org; Tue, 26 Jul 2022 07:26:02 -0400 Received: from lists.gnu.org ([209.51.188.17]:47554) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGIhL-0005RX-Tc for submit@debbugs.gnu.org; Tue, 26 Jul 2022 07:26:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGIhI-0007KU-F9 for guix-patches@gnu.org; Tue, 26 Jul 2022 07:25:57 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:43217) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGIhF-0005cR-Uo for guix-patches@gnu.org; Tue, 26 Jul 2022 07:25:55 -0400 Received: (Authenticated sender: andrew@trop.in) by mail.gandi.net (Postfix) with ESMTPSA id A82C060002 for ; Tue, 26 Jul 2022 11:25:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop.in; s=gm1; t=1658834748; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=CNAfT/86oRcYHODSgM2UBfjJpwcg/QMc8sPC3od/mSY=; b=V4og8CO95cJf4UciaY7uR6J2eDqCxGzGHTVfYq3EgOV7ZgBWY6OgaKCOafR+3HHu36Xaqf 72qSqWziAcRMgJW5/DdEY8VgL6pTws6hCJTnTX03BMu3ZF3IU4Tz/V9knPsoyvVQ3aIW9l Nd4q9AlM8ytZW8iSdRL7dEZis1pEX5Mm04Z3fKnvngbMOGdCv5ZWWbJXhTnJW4Sj/L+Fnc /o++YmKOvmVuYYHy4KgZ3MVKshH8OceOkShCg/FtByiDLldOTW+OhvGA0vc5QfM3vxgJiv jngx21g7UytqdW82OMN2PPb+yucBOWj967+ebTke9Vn4gLOkgXR7JnF6YV1Dcg== From: Andrew Tropin Date: Tue, 26 Jul 2022 13:10:08 +0300 Message-ID: <87pmhsyv2g.fsf@trop.in> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=217.70.183.195; envelope-from=andrew@trop.in; helo=relay3-d.mail.gandi.net 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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: 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=1658835147; 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:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=CNAfT/86oRcYHODSgM2UBfjJpwcg/QMc8sPC3od/mSY=; b=kWZDmbVEI1b6HGpHWYqBSPJVdRoWq7U1qgup65T8H51DjO/cGwR0dFjwdGVtgCOkcovFYu z3K89g61uwKQPTrB7ITVVelrHCXwZ4czEj22y7tex4nKxkbz5539BUeTtqxYRNb/0lAM4/ SkJDIazGMGc6mZbt+r8HzItt1fXz+QlSfGFOvmFvHgOWPJQpoQMpuZVVJuMbFfwNTSbS6F vmdjyQAlhhTbVZArlwmJ+kjGccqTH7Y97L08d+ODIIuVL1VXNZqad25mdazUFAsThHgP0S 1Ve3EQ1Oa568u3s2xKdewFyoQWXlAXEFpuYQIkIc1hT/peFygboAI5dW/D1iuA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658835147; a=rsa-sha256; cv=none; b=rxuT22CHssJ+JbuKDJa+x1R15JcjP89TghrC7B01vQFz9WB6E5lLgQCVcsOLIOUDcfFXV4 nm12AVlDeDtitchv1dKgv8QN3kdqIxNFwGo9OtQd92RM5HXASeLQlkTKGm9ubheLmPpgAi x8xK6I1k3bzJABihQH0j9YusTBvPsQbO++Amx5+hFn8cCnjiSwQ5X4Rkk5+DZEGBafhOZP K9+EzDj4JBaLvmXvZEwLjqli2rv2m42Se27Z3i5pStz6bnauCN20IeG5qpmYh4nX8VImN7 l0hpt73nMc/K830SUbZCm3aB+indM/bCiDqxobK6aPdjpuzEZxS4JPBMGSvzAg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=trop.in header.s=gm1 header.b=V4og8CO9; dmarc=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: -0.83 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=trop.in header.s=gm1 header.b=V4og8CO9; dmarc=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: A2B5AA067 X-Spam-Score: -0.83 X-Migadu-Scanner: scn0.migadu.com X-TUID: VIRP2kt1LJsM --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable * gnu/home/services.scm (compute-activation-script): Add explicit dependency on env to activation script. =2D-- gnu/home/services.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnu/home/services.scm b/gnu/home/services.scm index d500ba8c68..61a7419f4e 100644 =2D-- a/gnu/home/services.scm +++ b/gnu/home/services.scm @@ -20,6 +20,7 @@ (define-module (gnu home services) #:use-module (gnu services) #:use-module ((gnu packages package-management) #:select (guix)) + #:use-module ((gnu packages base) #:select (coreutils)) #:use-module (guix channels) #:use-module (guix monads) #:use-module (guix store) @@ -427,8 +428,9 @@ (define (compute-activation-script init-gexp gexps) #f)))) (if (file-exists? (he-init-file new-home)) (let* ((port ((@ (ice-9 popen) open-input-pipe) =2D (format #f "source ~a && env -0" =2D (he-init-file new-home)))) + (format #f "source ~a && ~a -0" + (he-init-file new-home) + #$(file-append coreutils "/bin/env")))) (result ((@ (ice-9 rdelim) read-delimited) "" port)) (vars (map (lambda (x) (let ((si (string-index x #\=3D))) =2D-=20 2.37.0 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmLfzzcACgkQIgjSCVjB 3rBqnQ//dHVrjk+LfpG2jg87beNlDIxAmgGvKcA99spQ+GoRSs0VEwt41J9ecxJn x7N2alOuHhWFhANpjZp3p5ArBHGefLS50t9EgZPbO/9bQuGPGkFsK3SNI1w5y7VX 742gBYxdOZWSHXF3qNkiQv1534DTTmYdIa1BLZuZnTjaiVwPFQ6kAbPRGRgSenuj 1+I9wkkmc4NX3fivPm+0EEtfVbePB0E3uYDqprDC/4izwro9/VsidqlUvkKSX5Oc IjYMJNq/hGC6lcCaVno97RvCJIIrwwB0cHhlNP+oK1tbX39ssZ1JNsKaBZooRQUp 0FLTe8fLDt4zoulyoYa/YO8u5WWKNZlLFVsmJaF/cl8h+ym9WXaUIIO+2R2aK2tU b7/zzMFD8vfpc/zLzUiagyOTu39WDHi07zHimokHPRo8yqC4+ltIeVY2fvBRNb/M cW8hFlSXuw/f+bN/k99R98gLnRZ6R16C3gbRcklcFni1svqD5E83zXtKdhpRMI1b LNsKM224Bf6gl+SaY/Co591cWIch6TU04THIVHHRckJ89P7HJQEy7lVHkfAPI1cn p47a4sC3IL0x19urMQloi5YbFkKZt80sZDehe8iWMZ/ZdurZgqnNQBSbYCHjvnDk UwaKyzhTfju6UqGlfq564NBIokCaGXT8BcSec2GzNVBzuTr6/i0= =rvqp -----END PGP SIGNATURE----- --=-=-=--