summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-07-22 00:45:42 +0200
committerLudovic Courtès <ludo@gnu.org>2019-07-22 11:53:40 +0200
commitcd9f56ff5a0c187eb9d931713cb6774564163788 (patch)
treec23c2d534d883c0032bc47ca53f57e7ae7444180
parent96f1cbeff84819f9886d15763b4c477cdecd7784 (diff)
pack: Pass a list as the entry point for 'build-docker-image'.
* guix/scripts/pack.scm (docker-image)[build]: Pass a list as #:entry-point, not a string.
-rw-r--r--guix/scripts/pack.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/guix/scripts/pack.scm b/guix/scripts/pack.scm
index 4ac5dfc896..01472d9768 100644
--- a/guix/scripts/pack.scm
+++ b/guix/scripts/pack.scm
@@ -509,9 +509,10 @@ the image."
#:database #+database
#:system (or #$target (utsname:machine (uname)))
#:environment environment
- #:entry-point #$(and entry-point
- #~(string-append #$profile "/"
- #$entry-point))
+ #:entry-point
+ #$(and entry-point
+ #~(list (string-append #$profile "/"
+ #$entry-point)))
#:symlinks '#$symlinks
#:compressor '#$(compressor-command compressor)
#:creation-time (make-time time-utc 0 1))))))