GNU bug report logs -
#54942
Can't run guix upgrade when a package is installed with the --with-git-url transformation
Previous Next
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 #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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 :)
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.