* [bug#51915] [PATCH] home: services: Change computed-file to scheme-file.
@ 2021-11-17 8:22 Andrew Tropin
2021-11-18 8:39 ` bug#51915: " Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Tropin @ 2021-11-17 8:22 UTC (permalink / raw)
To: ludo, 51915; +Cc: Oleg Pykhalov
[-- Attachment #1: Type: text/plain, Size: 1208 bytes --]
* 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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 853 bytes --]
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#51915: [PATCH] home: services: Change computed-file to scheme-file.
2021-11-17 8:22 [bug#51915] [PATCH] home: services: Change computed-file to scheme-file Andrew Tropin
@ 2021-11-18 8:39 ` Ludovic Courtès
2021-11-18 9:02 ` [bug#51915] " Andrew Tropin
0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2021-11-18 8:39 UTC (permalink / raw)
To: Andrew Tropin; +Cc: Oleg Pykhalov, 51915-done
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’.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [bug#51915] [PATCH] home: services: Change computed-file to scheme-file.
2021-11-18 8:39 ` bug#51915: " Ludovic Courtès
@ 2021-11-18 9:02 ` Andrew Tropin
0 siblings, 0 replies; 3+ messages in thread
From: Andrew Tropin @ 2021-11-18 9:02 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: Oleg Pykhalov, 51915-done
[-- Attachment #1: Type: text/plain, Size: 628 bytes --]
On 2021-11-18 09:39, Ludovic Courtès wrote:
> 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.
Thank you very much for the fix! :)
>
> Thanks,
> Ludo’.
--
Best regards,
Andrew Tropin
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 853 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-11-18 9:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-17 8:22 [bug#51915] [PATCH] home: services: Change computed-file to scheme-file Andrew Tropin
2021-11-18 8:39 ` bug#51915: " Ludovic Courtès
2021-11-18 9:02 ` [bug#51915] " Andrew Tropin
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).