[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/08: home: services: Fix typo.
From: |
guix-commits |
Subject: |
04/08: home: services: Fix typo. |
Date: |
Tue, 16 Nov 2021 08:38:54 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit e5d8302b2ce596a0518ea5bd79b338f68a3246eb
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Tue Nov 16 13:19:21 2021 +0100
home: services: Fix typo.
Reinstates 4dcec60fa6a93dbc93bef2cdb91e3633c705579e, minus the
regression it introduced.
* gnu/home/services.scm (compute-on-first-login-script): Use
'program-file', not 'gexp->script'.
---
gnu/home/services.scm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gnu/home/services.scm b/gnu/home/services.scm
index 7f5cda1..04f4ec3 100644
--- a/gnu/home/services.scm
+++ b/gnu/home/services.scm
@@ -275,7 +275,7 @@ directory containing FILES."
will be put in @file{~/.guix-home/files}.")))
(define (compute-on-first-login-script _ gexps)
- (gexp->script
+ (program-file
"on-first-login"
#~(let* ((xdg-runtime-dir (or (getenv "XDG_RUNTIME_DIR")
(format #f "/run/user/~a" (getuid))))
@@ -294,11 +294,11 @@ won't execute anything. You can check if xdg runtime
directory exists,
XDG_RUNTIME_DIR variable is set to apropriate value and manually execute the
script by running '$HOME/.guix-home/on-first-login'")))))
-(define (on-first-login-script-entry m-on-first-login)
+(define (on-first-login-script-entry on-first-login)
"Return, as a monadic value, an entry for the on-first-login script
in the home environment directory."
- (mlet %store-monad ((on-first-login m-on-first-login))
- (return `(("on-first-login" ,on-first-login)))))
+ (with-monad %store-monad
+ (return `(("on-first-login" ,on-first-login)))))
(define home-run-on-first-login-service-type
(service-type (name 'home-run-on-first-login)
- branch master updated (b2f8186 -> 9bbbac6), guix-commits, 2021/11/16
- 07/08: gnu: Add texlive-translator., guix-commits, 2021/11/16
- 01/08: services: openssh: Collect all keys for all users., guix-commits, 2021/11/16
- 03/08: daemon: Do not deduplicate files smaller than 8 KiB., guix-commits, 2021/11/16
- 05/08: home: services: bash: Emit 'extra-content' first again., guix-commits, 2021/11/16
- 08/08: gnu: Add texlive-latex-textpos., guix-commits, 2021/11/16
- 02/08: tests: Factorize 'file=?'., guix-commits, 2021/11/16
- 04/08: home: services: Fix typo.,
guix-commits <=
- 06/08: home: Adjust 'guix home import' test for shell aliases., guix-commits, 2021/11/16