unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Andy Tai <atai@atai.org>
To: 61864@debbugs.gnu.org
Cc: Andy Tai <atai@atai.org>
Subject: [bug#61864] [PATCH v2] scripts: Expose 'allow-collisions' for 'guix install'
Date: Thu,  2 Mar 2023 22:07:32 -0800	[thread overview]
Message-ID: <20230303060732.24744-1-atai@atai.org> (raw)
In-Reply-To: <20230228062846.19516-1-atai@atai.org>

* guix/scripts/install.scm: Expose 'allow-collisions' option
of 'package' for 'install' alias
---
 guix/scripts/install.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/guix/scripts/install.scm b/guix/scripts/install.scm
index 63e625f266..4ab64b5b54 100644
--- a/guix/scripts/install.scm
+++ b/guix/scripts/install.scm
@@ -34,6 +34,8 @@ (define (show-help)
   (display (G_ "
   -p, --profile=PROFILE  use PROFILE instead of the user's default profile"))
   ;; '--bootstrap' not shown here.
+  (display (G_ "
+      --allow-collisions do not treat collisions in the profile as an error"))
   (display (G_ "
   -v, --verbosity=LEVEL  use the given verbosity LEVEL"))
   (newline)
@@ -61,7 +63,8 @@ (define %options
          ;; Preserve some of the 'guix package' options.
          (append (filter (lambda (option)
                            (any (cut member <> (option-names option))
-                                '("profile" "dry-run" "verbosity" "bootstrap")))
+                                '("profile" "dry-run" "verbosity" "bootstrap"
+                                  "allow-collisions")))
                          %package-options)
 
                  %transformation-options

base-commit: ea870a70e93e7ea93e35fa8e0afc3cfdb1b66ba2
-- 
2.39.1





      parent reply	other threads:[~2023-03-03  6:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-28  6:28 [bug#61864] [PATCH] scripts: expose 'allow-collisions' for 'guix install' Andy Tai
2023-03-02 20:02 ` Leo Famulari
2023-03-02 20:38   ` Andy Tai
2023-04-01 16:54     ` bug#61864: " Leo Famulari
2023-03-03  6:07 ` Andy Tai [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230303060732.24744-1-atai@atai.org \
    --to=atai@atai.org \
    --cc=61864@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).