From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mHZrK/oI1mEmqgAAgWs5BA (envelope-from ) for ; Wed, 05 Jan 2022 22:09:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id cMgrKPoI1mE6PwAAauVa8A (envelope-from ) for ; Wed, 05 Jan 2022 22:09:14 +0100 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 E50C83171D for ; Wed, 5 Jan 2022 22:09:13 +0100 (CET) Received: from localhost ([::1]:42556 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n5DWy-00038p-LZ for larch@yhetil.org; Wed, 05 Jan 2022 16:09:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57564) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5DWo-00035P-QU for bug-guix@gnu.org; Wed, 05 Jan 2022 16:09:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46122) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n5DWo-00034d-H9 for bug-guix@gnu.org; Wed, 05 Jan 2022 16:09:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n5DWo-0007XC-E6 for bug-guix@gnu.org; Wed, 05 Jan 2022 16:09:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#53030: Can't (specification->package "package@version:output") Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 05 Jan 2022 21:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53030 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: calcium Cc: 53030@debbugs.gnu.org X-Debbugs-Original-Cc: 53030@debbugs.gnu.org, bug-guix@gnu.org Received: via spool by 53030-submit@debbugs.gnu.org id=B53030.164141693728938 (code B ref 53030); Wed, 05 Jan 2022 21:09:02 +0000 Received: (at 53030) by debbugs.gnu.org; 5 Jan 2022 21:08:57 +0000 Received: from localhost ([127.0.0.1]:39021 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5DWj-0007Wa-27 for submit@debbugs.gnu.org; Wed, 05 Jan 2022 16:08:57 -0500 Received: from tobias.gr ([80.241.217.52]:60134) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5DWd-0007WM-Bf for 53030@debbugs.gnu.org; Wed, 05 Jan 2022 16:08:55 -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> 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" Reply-to: Tobias Geerinckx-Rice From: Tobias Geerinckx-Rice via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641416954; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=MBR2AiJuPb/L8+wr+ipR0+we4lxv79k/u48DsV24tUY=; b=u8glHAA1o3mlB4EchNv+Yc9qh7U0654kdnW+MTpPYtMALj5tEe168nIaQeK8o9guwrEgwO gwy4cjzAu8fQuu9WYlEN1yQkPbrldiM+TVyBdyo7QnODlFpBTv0TcP0ehYccUJs3VOnesp iLOYEm9KsO1N6ZyImhr+gm3ILOucUNn0iqsPAzC/Vj4Id+epNU7tAWxZnztUgAadSt/7UU OQCifYP4HT7vkn8Hq2Up1oKJPsVanHseryr0zTmCY64N/hSkx4vi/vBUUACRhLcDgitjJr +MS+myvWDPGhgYfEbPzf7l31OB3Xa62+H9ibk5iAvjMEBKpo56gxfLFMCuDXPw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641416954; a=rsa-sha256; cv=none; b=emmA+0Dhb4kEnzg6yqKEqXCmSPFUgyH9j1t0XVoJsaqwKqTJUQVobDYyLmxT2xc+yM+Rdy 0WrYmFTKAtmM5n5lhBpLnWMilvpcMGqWv3mM8ka5UATV4734gK/a3MShUcyyXZJA55c0xZ CnPOXWelXW/32bOKWEBOdSaN9Kkt/g7OD+yMYizb3xiKbtRX4QKzra9bmT5lCsF0ymycYY Qd2jh89NfqV7LXuebpNt4EH+1gLLvNeM8kYF9gBNUqG6qBJCnnRlsUf8gvXCB1HRmbJeBS NmL7wKj+lFdyBZmaRVMUNQmXulNu5o5qwEUNxYwKJDjArrIOFgvYTjsFvMpa7g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tobias.gr header.s=2018 header.b=c9XINoQg; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.70 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tobias.gr header.s=2018 header.b=c9XINoQg; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: E50C83171D X-Spam-Score: -3.70 X-Migadu-Scanner: scn1.migadu.com X-TUID: ZrNSXxJKTzwZ --=-=-= 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----- --=-=-=--