guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: guix upgrade: Allow using --do-not-upgrade.


From: guix-commits
Subject: branch master updated: guix upgrade: Allow using --do-not-upgrade.
Date: Mon, 24 Aug 2020 12:06:43 -0400

This is an automated email from the git hooks/post-receive script.

niedzejkob pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 7ba7d50  guix upgrade: Allow using --do-not-upgrade.
7ba7d50 is described below

commit 7ba7d50f92416821ec4fc124a49d74149b6d4d33
Author: Jakub Kądziołka <kuba@kadziolka.net>
AuthorDate: Wed Aug 19 23:36:23 2020 +0200

    guix upgrade: Allow using --do-not-upgrade.
    
    * 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(-)

diff --git a/guix/scripts/upgrade.scm b/guix/scripts/upgrade.scm
index 7f14a2f..d278466 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]