unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: SeerLite <seerlite@nixnet.email>
Cc: 54942-done@debbugs.gnu.org
Subject: bug#54942: Can't run guix upgrade when a package is installed with the --with-git-url transformation
Date: Thu, 05 May 2022 23:58:21 +0200	[thread overview]
Message-ID: <87ilqj63r6.fsf@gnu.org> (raw)
In-Reply-To: <87fslwakf2.fsf@gnu.org> ("Ludovic Courtès"'s message of "Fri, 29 Apr 2022 00:54:25 +0200")

Hi,

Ludovic Courtès <ludo@gnu.org> skribis:

> SeerLite <seerlite@nixnet.email> skribis:
>
>> 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
>
> [...]
>
> Maxime Devos <maximedevos@telenet.be> skribis:
>
>> I guess the problem is that 'with-branch'/'with-commit' come before
>> 'with-git-url' in
>> <https://git.savannah.gnu.org/cgit/guix.git/tree/guix/transformations.scm?id=237d90a7808cfdced34b34595eba16632cbcb89e#n794>
>> (untested!).
>
> My guess is rather than the profile records (or replays) transformations
> in the wrong order:

I believe this is fixed by 0f024554e63a49e20c2a7a67e928073c266bf5c5.

Please let me know if anything’s wrong!

Ludo’.




  reply	other threads:[~2022-05-05 21:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-14 16:45 bug#54942: Can't run guix upgrade when a package is installed with the --with-git-url transformation SeerLite via Bug reports for GNU Guix
2022-04-18 19:08 ` 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 [this message]
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=87ilqj63r6.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=54942-done@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).