summaryrefslogtreecommitdiff
path: root/guix/scripts/package.scm
diff options
context:
space:
mode:
authorRoel Janssen <roel@gnu.org>2016-08-28 16:22:19 +0200
committerRoel Janssen <roel@gnu.org>2016-08-28 16:22:19 +0200
commitfd59105c49965db956fac73c68d8b00d068f5d5c (patch)
treede18e4017313e87e4b2669bb33f9b828da539834 /guix/scripts/package.scm
parentd03db7434b5b2f1e588c65805d38faea973c3cf0 (diff)
downloadguix-patches-fd59105c49965db956fac73c68d8b00d068f5d5c.tar
guix-patches-fd59105c49965db956fac73c68d8b00d068f5d5c.tar.gz
guix scripts: Disable grafting on dry runs.
* guix/scripts/archive.scm, guix/scripts/build.scm, guix/scripts/environment.scm, guix/scripts/system.scm, guix/scripts/package.scm: Disable grafting when a dry-run parameter is given.
Diffstat (limited to 'guix/scripts/package.scm')
-rw-r--r--guix/scripts/package.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/scripts/package.scm b/guix/scripts/package.scm
index 2a751a4552..fd42cdb36e 100644
--- a/guix/scripts/package.scm
+++ b/guix/scripts/package.scm
@@ -486,7 +486,8 @@ kind of search path~%")
#f)))
(option '(#\n "dry-run") #f #f
(lambda (opt name arg result arg-handler)
- (values (alist-cons 'dry-run? #t result)
+ (values (alist-cons 'dry-run? #t
+ (alist-cons 'graft? #f result))
#f)))
(option '("bootstrap") #f #f
(lambda (opt name arg result arg-handler)