(name . Oleg Pykhalov)(address . go.wigust@gmail.com)
* gnu/home/services.scm (compute-on-first-login-script): Use
'scheme-file' instead of 'computed-file'.
---
It seems there was a problem with 4dcec60fa6a93dbc93bef2cdb91e3633c705579e:
Toggle snippet (4 lines)
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'
This patch should fix it.
gnu/home/services.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Toggle diff (15 lines)
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
-----BEGIN PGP SIGNATURE-----
iQJDBAEBCgAtFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmGUwREPHGFuZHJld0B0
cm9wLmluAAoJECII0glYwd6wpvUQAIzpI53ajf18gYttvTWpr4WxoWTt7XB70tfi
RMI10ZMCzsMjYO78vTcFlLZXIs05MnZHNEEkpiwfpH1vSkHBoJUzRpRnfg9H8Wqw
ee+HsZchv2y8C36+f30+4OyXf9CMk5ZUGT9JEnPHCPKHtZc7oZBy1lpnjtyFYG99
uBAMEc5p7EG40KwsiBCMW8SQzQD9qlEmjhW1+wrxn2lYloN5aZ1CSzclTKytFLwp
SEyYzuJkC4vgCuR6Po2axrwiX1MP7sCcOtcql1fRVWSxIBZVCeLmZ4B0OtxPnjkW
44R3GMTJfSlHlFeI6iLJ6458cbUSeMekFMe0kG1y+EvEc26UgP0FllQIlcLFThvk
Ltt0YfGIutmlVEJ3DpFiDbPY6LabIpAlsjQA5P6BV18oiqkzCckn8QBF2oOAvk+Z
efUbrb9gS6qGuVFd6wdi0YhTjeRrXpTHJiYYBHfyzKkKOeP06ElnjyqIb4ZqHANP
eDj3TemrlbBCMOWkY9WZKoVHF4z8srP996vRToj0sf3KDGbk8XXav+AYtrKud3b1
3yXTJSK2jRySj8kPWx3NEZACzBp8cK+KFOGnedPsRO2dp3QOIa5CICQlAuZb7AZh
9gtWrFbK0zzNj9/DVpe3LwKBB9QaQ+HsK0NkbTI3CK9y+D27YzqX0xb+GyESi95o
ve9fZtaN
=Df/5
-----END PGP SIGNATURE-----