emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#51915: closed ([PATCH] home: services: Change computed-file to schem


From: GNU bug Tracking System
Subject: bug#51915: closed ([PATCH] home: services: Change computed-file to scheme-file.)
Date: Thu, 18 Nov 2021 08:40:01 +0000

Your message dated Thu, 18 Nov 2021 09:39:40 +0100
with message-id <87tug9rh6b.fsf@gnu.org>
and subject line Re: bug#51915: [PATCH] home: services: Change computed-file to 
scheme-file.
has caused the debbugs.gnu.org bug report #51915,
regarding [PATCH] home: services: Change computed-file to scheme-file.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
51915: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=51915
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] home: services: Change computed-file to scheme-file. Date: Wed, 17 Nov 2021 11:22:43 +0300
* gnu/home/services.scm (compute-on-first-login-script): Use
'scheme-file' instead of 'computed-file'.
---
It seems there was a problem with 4dcec60fa6a93dbc93bef2cdb91e3633c705579e:

--8<---------------cut here---------------start------------->8---
guix time-machine --commit=4dcec60fa6a93dbc93bef2cdb91e3633c705579e -- home 
build -e "((@ (gnu home) home-environment))"
guix home: error: reference to invalid output 'out' of derivation 
'/gnu/store/a6cwlz5yibi7w3pfm60j26inf434ard2-on-first-login.drv'
--8<---------------cut here---------------end--------------->8---

This patch should fix it.

 gnu/home/services.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/home/services.scm b/gnu/home/services.scm
index 992e522fa2..0deaadaf3e 100644
--- a/gnu/home/services.scm
+++ b/gnu/home/services.scm
@@ -275,7 +275,7 @@ (define home-files-service-type
 will be put in @file{~/.guix-home/files}.")))
 
 (define (compute-on-first-login-script _ gexps)
-  (computed-file
+  (scheme-file
    "on-first-login"
    #~(let* ((xdg-runtime-dir (or (getenv "XDG_RUNTIME_DIR")
                                  (format #f "/run/user/~a" (getuid))))
-- 
2.33.1

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message --- Subject: Re: bug#51915: [PATCH] home: services: Change computed-file to scheme-file. Date: Thu, 18 Nov 2021 09:39:40 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Hi,

Andrew Tropin <andrew@trop.in> skribis:

> --- a/gnu/home/services.scm
> +++ b/gnu/home/services.scm
> @@ -275,7 +275,7 @@ (define home-files-service-type
>  will be put in @file{~/.guix-home/files}.")))
>  
>  (define (compute-on-first-login-script _ gexps)
> -  (computed-file
> +  (scheme-file
>     "on-first-login"

This was fixed in e5d8302b2ce596a0518ea5bd79b338f68a3246eb (with
‘program-file’.)  Apologies for the mistake.

Thanks,
Ludo’.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]