GNU bug report logs - #56781
[PATCH] home: Add explicit dependency on env to activation script.

Previous Next

Package: guix-patches;

Reported by: Andrew Tropin <andrew <at> trop.in>

Date: Tue, 26 Jul 2022 11:27:01 UTC

Severity: normal

Tags: patch

Done: Andrew Tropin <andrew <at> trop.in>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 56781 in the body.
You can then email your comments to 56781 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#56781; Package guix-patches. (Tue, 26 Jul 2022 11:27:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andrew Tropin <andrew <at> trop.in>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 26 Jul 2022 11:27:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andrew Tropin <andrew <at> trop.in>
To: guix-patches <at> gnu.org
Subject: [PATCH] home: Add explicit dependency on env to activation script.
Date: Tue, 26 Jul 2022 13:10:08 +0300
[Message part 1 (text/plain, inline)]
* gnu/home/services.scm (compute-activation-script): Add explicit dependency
on env to activation script.
---
 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
--- 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)
-                           (format #f "source ~a && env -0"
-                                   (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 #\=)))
-- 
2.37.0

[signature.asc (application/pgp-signature, inline)]

Reply sent to Andrew Tropin <andrew <at> trop.in>:
You have taken responsibility. (Tue, 02 Aug 2022 14:37:02 GMT) Full text and rfc822 format available.

Notification sent to Andrew Tropin <andrew <at> trop.in>:
bug acknowledged by developer. (Tue, 02 Aug 2022 14:37:02 GMT) Full text and rfc822 format available.

Message #10 received at 56781-done <at> debbugs.gnu.org (full text, mbox):

From: Andrew Tropin <andrew <at> trop.in>
To: 宋文武 <iyzsong <at> envs.net>
Cc: 56781-done <at> debbugs.gnu.org
Subject: Re: bug#56781: [PATCH] home: Add explicit dependency on env to
 activation script.
Date: Tue, 02 Aug 2022 17:35:57 +0300
[Message part 1 (text/plain, inline)]
On 2022-08-02 16:54, 宋文武 wrote:

> Andrew Tropin <andrew <at> trop.in> writes:
>
>> * gnu/home/services.scm (compute-activation-script): Add explicit dependency
>> on env to activation script.
>
> Pushed, thanks!

Thank you very much!

-- 
Best regards,
Andrew Tropin
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#56781; Package guix-patches. (Tue, 02 Aug 2022 15:05:06 GMT) Full text and rfc822 format available.

Message #13 received at 56781-done <at> debbugs.gnu.org (full text, mbox):

From: 宋文武 <iyzsong <at> envs.net>
To: Andrew Tropin <andrew <at> trop.in>
Cc: 56781-done <at> debbugs.gnu.org
Subject: Re: bug#56781: [PATCH] home: Add explicit dependency on env to
 activation script.
Date: Tue, 02 Aug 2022 16:54:30 +0800
Andrew Tropin <andrew <at> trop.in> writes:

> * gnu/home/services.scm (compute-activation-script): Add explicit dependency
> on env to activation script.

Pushed, thanks!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 31 Aug 2022 11:24:13 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 289 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.