[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
138/182: services: hpcguix-web: Explicitly import (guix build utils).
From: |
guix-commits |
Subject: |
138/182: services: hpcguix-web: Explicitly import (guix build utils). |
Date: |
Fri, 15 Nov 2019 00:01:56 -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")
- 126/182: gnu: neovim: Update to 0.4.3., (continued)
- 126/182: gnu: neovim: Update to 0.4.3., guix-commits, 2019/11/15
- 124/182: build: Warn about etc/indent-code.el when Emacs is absent., guix-commits, 2019/11/15
- 147/182: gnu: youtube-dl: Update to 2019.11.05., guix-commits, 2019/11/15
- 148/182: gnu: qtractor: Update to 0.9.11., guix-commits, 2019/11/15
- 122/182: ui: Emit hyperlinks for 'license' in package search results., guix-commits, 2019/11/15
- 127/182: gnu: signify: Update to 27., guix-commits, 2019/11/15
- 131/182: gnu: python-reportlab: Update to 3.5.32., guix-commits, 2019/11/15
- 132/182: gnu: rdesktop: Update to 1.9.0., guix-commits, 2019/11/15
- 135/182: gnu: parcimonie: Update to 0.11.0., guix-commits, 2019/11/15
- 134/182: gnu: Add perl-moox-strictconstructor., guix-commits, 2019/11/15
- 138/182: services: hpcguix-web: Explicitly import (guix build utils).,
guix-commits <=
- 140/182: tests: Update references to the now-deprecated 'guile-json' variable., guix-commits, 2019/11/15
- 155/182: gnu: xfce4-whiskermenu-plugin: Don't use NAME in source URI., guix-commits, 2019/11/15
- 156/182: gnu: xfce4-whiskermenu-plugin: Update to 2.3.4., guix-commits, 2019/11/15
- 150/182: gnu: fvwm: Update to 2.6.9., guix-commits, 2019/11/15
- 149/182: gnu: fvwm: Don't use NAME in source URI., guix-commits, 2019/11/15
- 154/182: gnu: gimp: Update to 2.10.14., guix-commits, 2019/11/15
- 153/182: gnu: gegl: Update to 0.4.18., guix-commits, 2019/11/15
- 158/182: gnu: faad2: Use HTTPS home page., guix-commits, 2019/11/15
- 164/182: gnu: LibreSSL: Make search paths single-entry., guix-commits, 2019/11/15
- 169/182: gnu: raincat: Use 'mirror-url'., guix-commits, 2019/11/15