unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: SeerLite via Bug reports for GNU Guix <bug-guix@gnu.org>
To: 54942@debbugs.gnu.org
Subject: bug#54942: Can't run guix upgrade when a package is installed with the --with-git-url transformation
Date: Thu, 14 Apr 2022 12:45:11 -0400	[thread overview]
Message-ID: <55a97413-14a1-fbca-2c55-73b6e3782b47@nixnet.email> (raw)

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 :)




             reply	other threads:[~2022-04-16 12:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-14 16:45 SeerLite via Bug reports for GNU Guix [this message]
2022-04-18 19:08 ` bug#54942: Can't run guix upgrade when a package is installed with the --with-git-url transformation Greg Hogan
2022-04-18 19:24 ` Maxime Devos
2022-04-28 22:54 ` Ludovic Courtès
2022-05-05 21:58   ` Ludovic Courtès
2022-05-13  2:47     ` SeerLite via Bug reports for GNU Guix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55a97413-14a1-fbca-2c55-73b6e3782b47@nixnet.email \
    --to=bug-guix@gnu.org \
    --cc=54942@debbugs.gnu.org \
    --cc=seerlite@nixnet.email \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).