[PATCH] guix upgrade: Allow using --do-not-upgrade.

DoneSubmitted by Jakub Kądziołka.
Details
3 participants
  • Jakub Kądziołka
  • Ludovic Courtès
  • Mathieu Othacehe
Owner
unassigned
Severity
normal
J
J
Jakub Kądziołka wrote on 19 Aug 2020 23:38
(address . guix-patches@gnu.org)
20200819213839.13612-1-kuba@kadziolka.net
* guix/scripts/upgrade.scm (%options): Add "do-not-upgrade" to list of options inherited from guix package.--- guix/scripts/upgrade.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Toggle diff (22 lines)diff --git a/guix/scripts/upgrade.scm b/guix/scripts/upgrade.scmindex 7f14a2fdbe..d2784669be 100644--- a/guix/scripts/upgrade.scm+++ b/guix/scripts/upgrade.scm@@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2019 Ludovic Courtès <ludo@gnu.org>+;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net> ;;; ;;; 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. (append (filter (lambda (option) (any (cut member <> (option-names option))- '("profile" "dry-run" "verbosity")))+ '("profile" "dry-run" "verbosity" "do-not-upgrade"))) %package-options) %transformation-options-- 2.28.0
M
M
Mathieu Othacehe wrote on 24 Aug 2020 10:53
(name . Jakub Kądziołka)(address . kuba@kadziolka.net)(address . 42938@debbugs.gnu.org)
87lfi4e877.fsf@gnu.org
Hello Jakub,
Toggle quote (3 lines)> * guix/scripts/upgrade.scm (%options): Add "do-not-upgrade" to list of> options inherited from guix package.
This looks good to me.
Thanks,
Mathieu
L
L
Ludovic Courtès wrote on 26 Aug 2020 12:00
control message for bug #42938
(address . control@debbugs.gnu.org)
87a6yhwwuo.fsf@gnu.org
tags 42938 fixedclose 42938 quit
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send email to 42938@debbugs.gnu.org