[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/10: services: hpcguix-web: Explicitly import (guix build utils).
From: |
guix-commits |
Subject: |
01/10: services: hpcguix-web: Explicitly import (guix build utils). |
Date: |
Sat, 9 Nov 2019 17:06:44 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 1ce0d7e190784c709abf3346d8d94e7e143569dc
Author: Ludovic Courtès <address@hidden>
Date: Sat Nov 9 11:33:12 2019 +0100
services: hpcguix-web: Explicitly import (guix build utils).
* gnu/services/web.scm (%hpcguix-web-activation): Add explicit
'with-imported-modules'.
---
gnu/services/web.scm | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/gnu/services/web.scm b/gnu/services/web.scm
index f13e864..d0c9d0d 100644
--- a/gnu/services/web.scm
+++ b/gnu/services/web.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 David Thompson <address@hidden>
-;;; Copyright © 2015, 2016, 2017, 2018 Ludovic Courtès <address@hidden>
+;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ludovic Courtès <address@hidden>
;;; Copyright © 2016 ng0 <address@hidden>
;;; Copyright © 2016, 2017, 2018 Julien Lepiller <address@hidden>
;;; Copyright © 2017 Christopher Baines <address@hidden>
@@ -1047,13 +1047,15 @@ a webserver.")
(shell (file-append shadow "/sbin/nologin")))))
(define %hpcguix-web-activation
- #~(begin
- (use-modules (guix build utils))
- (let ((home-dir "/var/cache/guix/web")
- (user (getpwnam "hpcguix-web")))
- (mkdir-p home-dir)
- (chown home-dir (passwd:uid user) (passwd:gid user))
- (chmod home-dir #o755))))
+ (with-imported-modules '((guix build utils))
+ #~(begin
+ (use-modules (guix build utils))
+
+ (let ((home-dir "/var/cache/guix/web")
+ (user (getpwnam "hpcguix-web")))
+ (mkdir-p home-dir)
+ (chown home-dir (passwd:uid user) (passwd:gid user))
+ (chmod home-dir #o755)))))
(define %hpcguix-web-log-file
"/var/log/hpcguix-web.log")
- branch master updated (bbfdaaa -> c2cda7d), guix-commits, 2019/11/09
- 01/10: services: hpcguix-web: Explicitly import (guix build utils).,
guix-commits <=
- 03/10: tests: Update references to the now-deprecated 'guile-json' variable., guix-commits, 2019/11/09
- 04/10: services: 'fold-services' memoizes service values., guix-commits, 2019/11/09
- 02/10: services: hpcguix-web: Delete lock files during activation., guix-commits, 2019/11/09
- 07/10: doc: Mention value /var to localstatedir option., guix-commits, 2019/11/09
- 05/10: gnu: make-bootstrap: Memoize GCC variant., guix-commits, 2019/11/09
- 08/10: gnu: Add matcha-theme., guix-commits, 2019/11/09
- 06/10: gnu: make-bootstrap: Slightly clarify 'package-with-relocatable-glibc'., guix-commits, 2019/11/09
- 10/10: gnu: youtube-dl: Update to 2019.11.05., guix-commits, 2019/11/09
- 09/10: gnu: Add artyfx, guix-commits, 2019/11/09