[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#56612] [PATCH] guix install: Add '--manifest' option.
From: |
Liliana Marie Prikler |
Subject: |
[bug#56612] [PATCH] guix install: Add '--manifest' option. |
Date: |
Tue, 19 Jul 2022 12:01:04 +0200 |
User-agent: |
Evolution 3.42.1 |
Am Sonntag, dem 17.07.2022 um 12:20 +0200 schrieb Ludovic Courtès:
> * guix/scripts/install.scm (show-help, %options): Add "--manifest".
> * tests/guix-package-aliases.sh" Test "guix install -m".
> ---
> guix/scripts/install.scm | 8 ++++++--
> tests/guix-package-aliases.sh | 16 +++++++++++++---
> 2 files changed, 19 insertions(+), 5 deletions(-)
>
> Hi!
>
> I think it’s convenient and quite natural to be able to type:
>
> guix install -m manifest.scm
>
> Hence this patch. Objections? :-)
I think the semantics of `guix install -m' are somewhat unclear. It
can mean both "add all of manifest to what I already have installed"
and "use manifest exactly as the manifest". The latter is equivalent
to `guix package -m' (which has clearer semantics here) and also the
implementation chosen IIUC. Personally, I don't think I'd want
"install" to remove packages.
Cheers