From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aNSBHqO3XWJz5wAAbAwnHQ (envelope-from ) for ; Mon, 18 Apr 2022 21:10:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id IEuFHqO3XWKdcQEAauVa8A (envelope-from ) for ; Mon, 18 Apr 2022 21:10:27 +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 E27F79C58 for ; Mon, 18 Apr 2022 21:10:26 +0200 (CEST) Received: from localhost ([::1]:37420 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ngWlW-0006LP-0i for larch@yhetil.org; Mon, 18 Apr 2022 15:10:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39600) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngWl8-0006Ky-1n for bug-guix@gnu.org; Mon, 18 Apr 2022 15:10:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46913) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ngWl7-0002jd-P7 for bug-guix@gnu.org; Mon, 18 Apr 2022 15:10:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ngWl7-0007sO-JD for bug-guix@gnu.org; Mon, 18 Apr 2022 15:10:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#54942: Can't run guix upgrade when a package is installed with the --with-git-url transformation Resent-From: Greg Hogan Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 18 Apr 2022 19:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54942 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: SeerLite Received: via spool by 54942-submit@debbugs.gnu.org id=B54942.165030894230190 (code B ref 54942); Mon, 18 Apr 2022 19:10:01 +0000 Received: (at 54942) by debbugs.gnu.org; 18 Apr 2022 19:09:02 +0000 Received: from localhost ([127.0.0.1]:40808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngWkA-0007qs-3J for submit@debbugs.gnu.org; Mon, 18 Apr 2022 15:09:02 -0400 Received: from mail-pg1-f182.google.com ([209.85.215.182]:38633) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngWk8-0007qN-CH for 54942@debbugs.gnu.org; Mon, 18 Apr 2022 15:09:01 -0400 Received: by mail-pg1-f182.google.com with SMTP id s137so20529460pgs.5 for <54942@debbugs.gnu.org>; Mon, 18 Apr 2022 12:09:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greghogan-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rBwYMkdY4ssMgHXD4FnmIbGtcaLvPVZa+aPwEa8ug1o=; b=gOPC3zFSYaOnS3eg2gF49VeqkDBw/iyYV9y7EuZ+wlR+I2K0IQwExF4j2ABQm0x/z+ onWYFquvXyx5xsvPzgi08B8wk/T2Axkf06wHUnlElrQxCboTst0c16dem7DxJH6ftB3A /gPxDTb65U1/j/vXsGiI+D0kThVBC3tLLDskA8nIH4gTFSjEPDc/mRZWTMqhxjwi48JP YqALIrTBaeVO1MYGNJ7SHWZ0kTLZdBdOafbMSr/u/kNC9kY2zdSGSuPUqt/4XzAk6/HU yxquHaUi1o7wzMk2kUQ9/0DVflaAmB832Y85AFfWWKjqSz/YHPPmHl5pFYRURPZTpdqq wDIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rBwYMkdY4ssMgHXD4FnmIbGtcaLvPVZa+aPwEa8ug1o=; b=lvFplUdKbzBzRNB0QWsunIRubMcGMX+nzJH3o5Ttcgd0zuuehchaJYsSQNxBQJxIqV ZvCHFHnwciUWWCSMXFD/wgPTwuv9eiZSvp2DzWSp/vMVEiZ93z33t3EMvSklXb8IS9aJ NxlSEHbOLkZdf1LRAm8VqV4E4/E/t7CRtb8lQ6nx1xg71XWkdUVrIb6P7HhbGuV/LneU 6vZPcZo/0/Uxqrel1BH2jt/eHqWvRMr2Ln3cCOEsqrnm7rRtyTCmhf+NYBCVGZ1HCHNR 5U7L6UMf3UAbHqzWpYm5cEFSNuSXBr9I/auHXxXq/0Adv5JUwTlzTaNYb+CmaBmdkTga 3VyA== X-Gm-Message-State: AOAM5328fxxkGpdsrJhPAGsfiTOk9ktoybqi6WhZ3Lp/I1sZ+qxdGHhC +i5mnqr+28HQw0EpG55gcXs2NtaHO9zHZA1C4SsqVde06pQx2Yta X-Google-Smtp-Source: ABdhPJwvhL5yhNvy4baI3GAys/IFMjVhEvjX49zgBWiYwhc15tqfW/m/OUDionv3J6b2+zmhvi+0GF6mx9eNlbfz5AY= X-Received: by 2002:a05:6a00:2444:b0:4fd:db81:cbdd with SMTP id d4-20020a056a00244400b004fddb81cbddmr13762095pfj.32.1650308934489; Mon, 18 Apr 2022 12:08:54 -0700 (PDT) MIME-Version: 1.0 References: <55a97413-14a1-fbca-2c55-73b6e3782b47@nixnet.email> In-Reply-To: <55a97413-14a1-fbca-2c55-73b6e3782b47@nixnet.email> From: Greg Hogan Date: Mon, 18 Apr 2022 15:08:43 -0400 Message-ID: Content-Type: multipart/alternative; boundary="000000000000cf721d05dcf27d42" 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: , Cc: 54942@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" 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=1650309027; h=from:from:sender:sender: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=rBwYMkdY4ssMgHXD4FnmIbGtcaLvPVZa+aPwEa8ug1o=; b=dNed5kjAmFfkWajd9r5mh+P71bQuuyGZfgPh8qGWsti7PjwMBNILANm1Nl9xi16D9YP6f0 /M7t2vvG0l8T158MqVM8rKr3T6uUsC7LYqi8y2vqv7EDY+7isDPYnSAxe7p2rRrGOGJc7x B3vDsENlG+uDrCkZURe0bcoLUKqJE/i2t9KoyYBk9pxnb1h9lZTn1NrpWR//9vvsAILxyd jRO5MLPtP/EMPjoxBHPrhwSxFBtw9sZg6K9x/okpPjmAdb7/hd0Tq6wHc4gQek4iiRH2es KXPTn1TjX6Ckq5M+tVpbvhNGsF15+vdbmqOS0VR4JDyqrJWc4WzqAkAVPI7aQw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650309027; a=rsa-sha256; cv=none; b=mqz8x27qBYqLuINDHLMQYTHI80d/HuyQ1W4KBJacP/CAbDTa7hhEpVlLSukKnzYIjJi0uD RlStFdfwvjCqNI9kIbQwcV5CYPtNIfynihud327tXD6rc+aOoBPLQSimKdquFMywa9mjHF HqbPjLigOHpCrST1Sa0QbVr0jWmaC220xmIGV386t0h18s+WgpoIpC9Ui+Zwx4+9Cp1sUl xax2sqRxrLt3RQlJWN1LkH1SHZa32jYY+92NqN4YU3DcCEgM9E2oD2R7nCqn81S5mdaRZD VYjeR15AzoZ1jzCcczp0WPXr5vYj36mUpeL9rhW9u4MbdsixZHgh993ZOk+Y2g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=greghogan-com.20210112.gappssmtp.com header.s=20210112 header.b=gOPC3zFS; dmarc=none; 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: -0.14 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=greghogan-com.20210112.gappssmtp.com header.s=20210112 header.b=gOPC3zFS; dmarc=none; 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: E27F79C58 X-Spam-Score: -0.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: VZQE5g2agbwi --000000000000cf721d05dcf27d42 Content-Type: text/plain; charset="UTF-8" Hi, The manual page Defining Package Variants [0] gives an example translating command-line options into a Guix manifest. The full list of options is found in the source [1] (including with-git-url). [0] https://guix.gnu.org/manual/en/html_node/Defining-Package-Variants.html [1] https://git.savannah.gnu.org/cgit/guix.git/tree/guix/transformations.scm?id=237d90a7808cfdced34b34595eba16632cbcb89e#n794 Greg On Sat, Apr 16, 2022 at 8:18 AM SeerLite via Bug reports for GNU Guix < bug-guix@gnu.org> wrote: > Hi! > > I installed a package with --with-git-url and --with-branch to my profile: > > guix install kakoune > --with-git-url=kakoune=https://github.com/mawww/kakoune.git > --with-branch=kakoune=breaking-cleanups > > However, now I can't run `guix upgrade`. I get the following error: > > guix upgrade: error: the source of kakoune@2021.08.28 is not a Git > reference > > I also tried to add the same transformation options to `guix upgrade`, > but I got the same error. > > > Is installing packages with the --with-git-url transformation to > profiles not supported? Or is this a bug? > > Ideally I'd like `guix upgrade` to remember the way in which this > package was installed and update it accordingly. In this case by > fetching the latest changes from the breaking-cleanups branch. Is this > not how this transformation option works? > > Thanks :) > > > > --000000000000cf721d05dcf27d42 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

The manual page Defining Package Va= riants [0] gives an example translating command-line options into a Guix ma= nifest. The full list of options is found in the source [1] (including=C2= =A0with-git-url).


Greg

--000000000000cf721d05dcf27d42--