GNU bug report logs - #54942
Can't run guix upgrade when a package is installed with the --with-git-url transformation

Previous Next

Package: guix;

Reported by: SeerLite <seerlite <at> nixnet.email>

Date: Thu, 14 Apr 2022 16:46:01 UTC

Severity: important

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 54942 <at> debbugs.gnu.org (full text, mbox):

From: Greg Hogan <code <at> greghogan.com>
To: SeerLite <seerlite <at> nixnet.email>
Cc: 54942 <at> debbugs.gnu.org
Subject: Re: bug#54942: Can't run guix upgrade when a package is installed
 with the --with-git-url transformation
Date: Mon, 18 Apr 2022 15:08:43 -0400
[Message part 1 (text/plain, inline)]
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 <at> 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 <at> 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 :)
>
>
>
>
[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 6 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.