scripts: All commands enable build hooks by default.

* guix/scripts/archive.scm (%default-options): Add 'build-hook?'.
* guix/scripts/copy.scm (%default-options): Likewise.
* guix/scripts/environment.scm (%default-options): Likewise.
* guix/scripts/pack.scm (%default-options): Likewise.
* guix/scripts/package.scm (%default-options): Likewise.
* guix/scripts/pull.scm (%default-options): Likewise.
This commit is contained in:
Ludovic Courtès 2017-12-07 22:49:08 +01:00
parent cf69135d5e
commit 7920e187c1
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
7 changed files with 8 additions and 2 deletions

View File

@ -53,6 +53,7 @@
;; Alist of default option values.
`((system . ,(%current-system))
(substitutes? . #t)
(build-hook? . #t)
(graft? . #t)
(verbosity . 0)))

View File

@ -150,6 +150,7 @@ Copy ITEMS to or from the specified host over SSH.\n"))
(define %default-options
`((system . ,(%current-system))
(substitutes? . #t)
(build-hook? . #t)
(graft? . #t)
(verbosity . 0)))

View File

@ -178,6 +178,7 @@ COMMAND or an interactive shell in that environment.\n"))
(define %default-options
`((system . ,(%current-system))
(substitutes? . #t)
(build-hook? . #t)
(graft? . #t)
(verbosity . 0)))

View File

@ -262,6 +262,7 @@ the image."
`((format . tarball)
(system . ,(%current-system))
(substitutes? . #t)
(build-hook? . #t)
(graft? . #t)
(verbosity . 0)
(symlinks . ())

View File

@ -360,7 +360,8 @@ ENTRIES, a list of manifest entries, in the context of PROFILE."
;; Alist of default option values.
`((verbosity . 0)
(graft? . #t)
(substitutes? . #t)))
(substitutes? . #t)
(build-hook? . #t)))
(define (show-help)
(display (G_ "Usage: guix package [OPTION]...

View File

@ -89,6 +89,7 @@ Install it by running:
(ref . (branch . "origin/master"))
(system . ,(%current-system))
(substitutes? . #t)
(build-hook? . #t)
(graft? . #t)
(verbosity . 0)))

View File

@ -942,8 +942,8 @@ Some ACTIONS support additional ARGS.\n"))
;; Alist of default option values.
`((system . ,(%current-system))
(substitutes? . #t)
(graft? . #t)
(build-hook? . #t)
(graft? . #t)
(verbosity . 0)
(file-system-type . "ext4")
(image-size . guess)