From unknown Sat Jun 21 03:31:46 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#53030 <53030@debbugs.gnu.org> To: bug#53030 <53030@debbugs.gnu.org> Subject: Status: Can't (specification->package "package@version:output") Reply-To: bug#53030 <53030@debbugs.gnu.org> Date: Sat, 21 Jun 2025 10:31:46 +0000 retitle 53030 Can't (specification->package "package@version:output") reassign 53030 guix submitter 53030 calcium severity 53030 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 05 12:18:06 2022 Received: (at submit) by debbugs.gnu.org; 5 Jan 2022 17:18:06 +0000 Received: from localhost ([127.0.0.1]:41656 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n59vK-00069U-AB for submit@debbugs.gnu.org; Wed, 05 Jan 2022 12:18:06 -0500 Received: from lists.gnu.org ([209.51.188.17]:52014) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n59vI-00069K-4t for submit@debbugs.gnu.org; Wed, 05 Jan 2022 12:18:04 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51418) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n59vH-0003uF-SV for bug-guix@gnu.org; Wed, 05 Jan 2022 12:18:03 -0500 Received: from knopi.disroot.org ([178.21.23.139]:45180) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n59vF-0001SP-N6 for bug-guix@gnu.org; Wed, 05 Jan 2022 12:18:03 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 0F16B5B20 for ; Wed, 5 Jan 2022 18:17:58 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nV-iIB3MaXnC for ; Wed, 5 Jan 2022 18:17:57 +0100 (CET) Message-ID: <90c20a11-e5a7-4e13-7f75-0538aebe957d@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1641403074; bh=ZNQMaKRki7w1n+s2q2oJ7x8fCmErywmmIS0hyX9AfdE=; h=Date:To:From:Subject; b=cFFwNn0COwNR6/FqzFsJI/I3n/ujCCd8knQbYXk2tM5Bfe5GZluqw74zVruJBAsLS OXq/J8sT0940RAKoPPSRUyvGaBPi6rmcVu12WT8zGKtRqANPimtVVzaPM3Fhmu820f /A76u9A/AGqIfVDkVsrpCeFJz1lQF1SSuO1sOEQGSyAIdGL6BPoAOZVX94BKfjHBaH V6sCaR6SXtAbJIZGuI7f2Wou71ed9RNj+fol7NsERw5hXijhDDJheAc/A5vBF4P6wr MxJ3K7wGQ71MqiftsjRbCG2JjRBM7Ok4P0VgngJ67m6z+SZcB8n3KBgtJZ0hWzE/Po 4gSKSGIju8GDQ== Date: Wed, 5 Jan 2022 18:18:02 +0100 Mime-Version: 1.0 To: bug-guix@gnu.org Content-Language: fr-FR From: calcium Subject: Can't (specification->package "package@version:output") Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=calcium@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) The syntaxe to specify a package version and desired output only works on guix install package@version:output guix remove package@version:output doesn't works guix remove package@version doesn't works (specification->package "package@version") works (specification->package "package:output") works but both (specification->package "packge@version:output") doesn't work. /etc/config.scm:line:col: Throw to key `quit' with args `(1)'. Even though guix package --export-manifest ;; => (specifications->manifest (list "package@version:output" "package@version")) I tested "package@version:output" using "openjdk@11:doc" From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 05 16:09:00 2022 Received: (at submit) by debbugs.gnu.org; 5 Jan 2022 21:09:00 +0000 Received: from localhost ([127.0.0.1]:39024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5DWm-0007Wp-EM for submit@debbugs.gnu.org; Wed, 05 Jan 2022 16:09:00 -0500 Received: from lists.gnu.org ([209.51.188.17]:43838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5DWj-0007WZ-1V for submit@debbugs.gnu.org; Wed, 05 Jan 2022 16:08:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57534) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5DWi-0002q6-Rm for bug-guix@gnu.org; Wed, 05 Jan 2022 16:08:56 -0500 Received: from [2a02:c205:2020:6054::1] (port=38478 helo=tobias.gr) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5DWg-0002Uc-Kp for bug-guix@gnu.org; Wed, 05 Jan 2022 16:08:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=MBR2AiJuPb/L8 +wr+ipR0+we4lxv79k/u48DsV24tUY=; h=in-reply-to:date:subject:cc:to: from:references; d=tobias.gr; b=c9XINoQgxGwhDV4JC8cLPT2ulnmuD5gdVPa2s0 c3gMxiXSXZLsZM6f8SIYagllNfMxsJ5mI/AsUaHI9Wri7q/F5Dz9MJtBrQW9S0kvTSFGrX lZJdhhItQ+gTupr15HNbQH1R2ZB+5oTUt+MWolZnfqvMu3oLrCmDf9V79gYhm5ykQXlHmI XqPkQ5QCjxy+YkANCubZlYckVb2sFjT3IARTJJcwjjtd9i2DHqNWd+Qin+IsqoRyxgIdR2 0TKCfvww2/cwKLfiqVqQviWJIhk/oIy7NQPxrnLm8bjGgTiy3VrvpqJ86jE0Ef3WRElUBi 7otQJIMIpeDdSSYRzcc6q2wA== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 34822e66 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Wed, 5 Jan 2022 21:08:47 +0000 (UTC) References: <90c20a11-e5a7-4e13-7f75-0538aebe957d@disroot.org> From: Tobias Geerinckx-Rice To: calcium Subject: Re: bug#53030: Can't (specification->package "package@version:output") Date: Wed, 05 Jan 2022 21:36:02 +0100 In-reply-to: <90c20a11-e5a7-4e13-7f75-0538aebe957d@disroot.org> BIMI-Selector: v=BIMI1; s=default; Message-ID: <87wnjdhot8.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a02:c205:2020:6054::1 (failed) Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit Cc: 53030@debbugs.gnu.org, bug-guix@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Calcium, Thanks for the report! In future, please submit separate issues separately, it helps keep=20 discussion, er, separate. It's easier to merge issues than to=20 split them. > Can't (specification->package "package@version:output") Short answer: it is not intended to work. Use=20 specification->package+output if you want outputs. This is not a=20 bug but a design decision. Which are not above critique, but=20 guix-devel@ might be a better place for that. I've considered in the past to submit a cheeky patch silently=20 renaming specification->package+ouput to specification->package,=20 just to avoid this FAQ. It should be almost perfectly backwards=20 compatible in that no existing code should break with the same=20 input. However I think clarity the greater value here, and did not submit=20 such a patch. calcium via Bug reports for GNU Guix =E5=86=99=E9=81=93=EF=BC=9A > The syntaxe to specify a package version and desired output > only works on guix install package@version:output > > guix remove package@version:output doesn't works I cannot reproduce this: $ guix install git@2.34.0:send-email $ guix remove git@2.34.0:send-email $ Can you provide an example? > guix remove package@version doesn't works =E2=80=98package@version=E2=80=99 means =E2=80=98package@version:out=E2=80= =99, not (a=20 hypothetical) =E2=80=98package@version:*=E2=80=99 wildcard. It neither ins= talls=20 nor removes =E2=80=98all outputs=E2=80=99. I did notice that, e.g., $ guix install git@2:send-email $ guix remove git@2:send-email guix remove: error: package 'git@2:send-email' not found in=20 profile $ is asymmetrical. I wonder if there are any drawbacks to making it=20 work. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYdYJIw0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15fXEBAOC7Ha6+9ckE3lBXzFviuYkDdGBXd9mcvsAxgvG7 pGjbAP96ynRD3w3aV33c666z2XpFP+cW02jWYodFcCCAXMDHBQ== =w2vh -----END PGP SIGNATURE----- --=-=-=--