summaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2018-12-04 12:28:17 +0100
committerFlorian Dold <florian.dold@gmail.com>2018-12-04 12:28:17 +0100
commit38ebee339761a99b856024452c41291c075b77fd (patch)
treefba7864c8fc9b6830392ca128c2f169b732408c4 /guix
parent9f6e9c8280633454a1fb197b198c3a98ce87e545 (diff)
downloaddeployment-38ebee339761a99b856024452c41291c075b77fd.tar.gz
deployment-38ebee339761a99b856024452c41291c075b77fd.tar.bz2
deployment-38ebee339761a99b856024452c41291c075b77fd.zip
import module correctly
Diffstat (limited to 'guix')
-rw-r--r--guix/shepherd-with-sock.scm8
1 files changed, 3 insertions, 5 deletions
diff --git a/guix/shepherd-with-sock.scm b/guix/shepherd-with-sock.scm
index 7a43c66..a7190e5 100644
--- a/guix/shepherd-with-sock.scm
+++ b/guix/shepherd-with-sock.scm
@@ -1,6 +1,4 @@
-(define-module (shepherd-with-sock)
- #:use-module ((shepherd service)
- #:select ()))
+(define-module (shepherd-with-sock))
(define default-service-directory (@@ (shepherd service) default-service-directory))
@@ -23,7 +21,7 @@
(#f
;; Make sure file descriptor zero is used, so we don't end up reusing
;; it for something unrelated, which can confuse some packages.
- (open-fdes "/dev/null" O_RDONLY))))
+ (open-fdes "/dev/null" O_RDONLY)))))
(define* (exec-command command
@@ -125,7 +123,7 @@ false."
(format (current-error-port)
"exec of ~s failed: ~a~%"
program (strerror (system-error-errno args)))
- (primitive-exit 1))))))
+ (primitive-exit 1)))))
(define* (fork+exec-command command