guix upgrade: Allow using --do-not-upgrade.
* guix/scripts/upgrade.scm (%options): Add "do-not-upgrade" to list of options inherited from guix package.
This commit is contained in:
parent
c88bccc14e
commit
7ba7d50f92
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2019 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2019 Ludovic Courtès <ludo@gnu.org>
|
||||||
|
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -60,7 +61,7 @@ This is an alias for 'guix package -u'.\n"))
|
||||||
;; Preserve some of the 'guix package' options.
|
;; Preserve some of the 'guix package' options.
|
||||||
(append (filter (lambda (option)
|
(append (filter (lambda (option)
|
||||||
(any (cut member <> (option-names option))
|
(any (cut member <> (option-names option))
|
||||||
'("profile" "dry-run" "verbosity")))
|
'("profile" "dry-run" "verbosity" "do-not-upgrade")))
|
||||||
%package-options)
|
%package-options)
|
||||||
|
|
||||||
%transformation-options
|
%transformation-options
|
||||||
|
|
Reference in a new issue