From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4OE+CdqE1mLsTgAAbAwnHQ (envelope-from ) for ; Tue, 19 Jul 2022 12:18:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id ECxhCNqE1mJXTQAAG6o9tA (envelope-from ) for ; Tue, 19 Jul 2022 12:18:02 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CD41623151 for ; Tue, 19 Jul 2022 12:18:01 +0200 (CEST) Received: from localhost ([::1]:38576 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oDkIi-0000ja-3e for larch@yhetil.org; Tue, 19 Jul 2022 06:18:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52174) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDk3G-0007VT-Gf for guix-patches@gnu.org; Tue, 19 Jul 2022 06:02:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55195) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oDk3G-0005vW-53 for guix-patches@gnu.org; Tue, 19 Jul 2022 06:02:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oDk3G-00059T-0Y for guix-patches@gnu.org; Tue, 19 Jul 2022 06:02:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56612] [PATCH] guix install: Add '--manifest' option. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 19 Jul 2022 10:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56612 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 56612@debbugs.gnu.org Received: via spool by 56612-submit@debbugs.gnu.org id=B56612.165822487119727 (code B ref 56612); Tue, 19 Jul 2022 10:02:01 +0000 Received: (at 56612) by debbugs.gnu.org; 19 Jul 2022 10:01:11 +0000 Received: from localhost ([127.0.0.1]:52950 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDk2Q-000587-So for submit@debbugs.gnu.org; Tue, 19 Jul 2022 06:01:11 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:64459) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDk2O-00057y-Bx for 56612@debbugs.gnu.org; Tue, 19 Jul 2022 06:01:10 -0400 Received: from lprikler-laptop.ist.intra (gw.ist.tugraz.at [129.27.202.101]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4LnDqj5FMSz1LZX0; Tue, 19 Jul 2022 12:01:05 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4LnDqj5FMSz1LZX0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1658224865; bh=Rau2sHUSZRzzCg9hIzOL8YFr+0qksjx4JOyu7ELXSAI=; h=Subject:From:To:Date:In-Reply-To:References:From; b=OQNJ2MOhS3uH5x+BSZ1oSKY/V02wDphcfVD0JF0EWlh0Rn/Cs9vjpUy+j9j1HWhWf U6qrolBUGMVU5TiQN022hCMG0v6Q5dV1hXpT+fD2Nkd/6FLUpU6bAfIQS9e3j3J+BT QyjouVmSKROE3UGTOuA8TBs+Jj92GUlsLjwClymw= Message-ID: From: Liliana Marie Prikler Date: Tue, 19 Jul 2022 12:01:04 +0200 In-Reply-To: <20220717102035.9150-1-ludo@gnu.org> References: <20220717102035.9150-1-ludo@gnu.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: waObeELIUl4ypBWmcn/8wQ X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658225882; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Rau2sHUSZRzzCg9hIzOL8YFr+0qksjx4JOyu7ELXSAI=; b=Xps8p4WuVGsrjguABIPOWRGJMbbrfyiUq5rnkeA9CzIMOYTg6NQ+4z4EsWHiqX/gsfpVsc WieI4X/9MiJofo7QFsyBHrr5A89nLgRCorNayZKWZ857XOwZWsdyoansQLquYqNFDCwBaC JCskc1Vypqvo3PiKyxk+giVq5g7KktgEiG3+ySd8KI5eLLvZ9+ryj+4tBoncNQLSWDwLBQ T1LIy7oSWu6TKTqqqmJ80MquKAh7wr1k6Fr06Wwwn3fyrWW0oK/30GDQE3eHaqyYlDC7M/ bE59G+4ifdfPOGKubSgH+2FVDUMaS5TcHREnhebDXe59Jdc6pzPJnLZVnSvqbA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658225882; a=rsa-sha256; cv=none; b=UyFzcFVF7ERGEswYliIkFRULKJpcBp5gZLIFzxGUKwlC0OCs/9sH7xJEROBmtOYJJkmYng kNS//iS4CGGeTJtjQOGu51WjQJKx9RrCR+ws7MFeZF24LT534x1SbCvPqR4/SeA5L9udff RwDFK+Zj+SNVWTDizOms/69CtyV5Nt8eVHfL9g3xshssQfftsdKrMBVBy8vapKxErcCvsP H0dLyZ+FTRxQ8ZSbdIRADrzQeKuKzOKzjlcuGz8YjpRLmIgyaYpIv+TL4Zy9ZPqndjbYg6 g0cI3EIbBaHHIn3z4aO10Z1AGzVIXcKPTkPQsn6oSNf8P7C5QWuTnT3ffCjHWg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=OQNJ2MOh; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 4.77 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=OQNJ2MOh; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: CD41623151 X-Spam-Score: 4.77 X-Migadu-Scanner: scn0.migadu.com X-TUID: xKe6fp5Ulbt8 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