summaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2018-12-04 13:59:53 +0100
committerFlorian Dold <florian.dold@gmail.com>2018-12-04 13:59:53 +0100
commit6324f0861ad46f09c15a89be9a588a4ff14f53d0 (patch)
tree2dbe77af57b233fd36fe55fa3ad383f5e0972271 /guix
parent40fac0055731ed94da7b0c556a213b8abd39a3f3 (diff)
downloaddeployment-6324f0861ad46f09c15a89be9a588a4ff14f53d0.tar.gz
deployment-6324f0861ad46f09c15a89be9a588a4ff14f53d0.tar.bz2
deployment-6324f0861ad46f09c15a89be9a588a4ff14f53d0.zip
imports
Diffstat (limited to 'guix')
-rw-r--r--guix/config.scm3
-rw-r--r--guix/shepherd-with-sock.scm7
2 files changed, 6 insertions, 4 deletions
diff --git a/guix/config.scm b/guix/config.scm
index a525ab5..0ec90c4 100644
--- a/guix/config.scm
+++ b/guix/config.scm
@@ -93,8 +93,7 @@
(start (with-extensions
(list shepherd)
(with-imported-modules
- `(((shepherd-with-sock) => ,(local-file "shepherd-with-sock.scm"))
- ,@(source-module-closure '((shepherd service))))
+ `(((shepherd-with-sock) => ,(local-file "shepherd-with-sock.scm")))
#~(begin
(use-modules ((shepherd-with-sock) #:prefix my:))
(my:make-forkexec-constructor
diff --git a/guix/shepherd-with-sock.scm b/guix/shepherd-with-sock.scm
index cd4138d..923033f 100644
--- a/guix/shepherd-with-sock.scm
+++ b/guix/shepherd-with-sock.scm
@@ -1,7 +1,10 @@
(define-module (shepherd-with-sock)
#:use-module ((shepherd service)
- #:select (handle-SIGCHLD
- catch-system-error))
+ #:select (handle-SIGCHLD read-pid-file))
+ #:use-module ((shepherd support)
+ #:select (catch-system-error))
+ #:use-module ((shepherd system)
+ #:select (max-file-descriptors))
#:export (make-forkexec-constructor))