[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
138/184: services: hpcguix-web: Explicitly import (guix build utils).
From: |
guix-commits |
Subject: |
138/184: services: hpcguix-web: Explicitly import (guix build utils). |
Date: |
Wed, 27 Nov 2019 14:37:15 -0500 (EST) |
kkebreau pushed a commit to branch wip-gnome-updates
in repository guix.
commit 8fa5c57b7a11a8a5ab04b94c02c733a84f1b2f1d
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")
- 67/184: gnu: linux-libre@4.19: Update to 4.19.82., (continued)
- 67/184: gnu: linux-libre@4.19: Update to 4.19.82., guix-commits, 2019/11/27
- 105/184: gnu: certbot, python-acme: Update to 0.40.1., guix-commits, 2019/11/27
- 106/184: news: Add 'de' translation., guix-commits, 2019/11/27
- 107/184: services: mpd: Connect to the user's PulseAudio socket., guix-commits, 2019/11/27
- 109/184: guix: package: lock profiles when processing them., guix-commits, 2019/11/27
- 118/184: gnu: python-mpi4py: Update to 3.0.3., guix-commits, 2019/11/27
- 128/184: gnu: miniupnpc: Don't use NAME in source URI., guix-commits, 2019/11/27
- 148/184: gnu: qtractor: Update to 0.9.11., guix-commits, 2019/11/27
- 147/184: gnu: youtube-dl: Update to 2019.11.05., guix-commits, 2019/11/27
- 124/184: build: Warn about etc/indent-code.el when Emacs is absent., guix-commits, 2019/11/27
- 138/184: services: hpcguix-web: Explicitly import (guix build utils).,
guix-commits <=
- 136/184: gnu: perl-class-inspector: Update to 1.36., guix-commits, 2019/11/27
- 125/184: gnu: Add homebank., guix-commits, 2019/11/27
- 135/184: gnu: parcimonie: Update to 0.11.0., guix-commits, 2019/11/27
- 133/184: gnu: fribidi: Fix CVE-2019-18397., guix-commits, 2019/11/27
- 149/184: gnu: fvwm: Don't use NAME in source URI., guix-commits, 2019/11/27
- 142/184: gnu: make-bootstrap: Memoize GCC variant., guix-commits, 2019/11/27
- 146/184: gnu: Add artyfx, guix-commits, 2019/11/27
- 140/184: tests: Update references to the now-deprecated 'guile-json' variable., guix-commits, 2019/11/27
- 139/184: services: hpcguix-web: Delete lock files during activation., guix-commits, 2019/11/27
- 152/184: gnu: gegl: Add source URIs., guix-commits, 2019/11/27