unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Greg Hogan <code@greghogan.com>
To: SeerLite <seerlite@nixnet.email>
Cc: 54942@debbugs.gnu.org
Subject: 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	[thread overview]
Message-ID: <CA+3U0Z=DSM29tJHS9vjVuWv1P6eYAJYJpwXxG9aNpSk2MJwMeQ@mail.gmail.com> (raw)
In-Reply-To: <55a97413-14a1-fbca-2c55-73b6e3782b47@nixnet.email>

[-- Attachment #1: Type: text/plain, Size: 1382 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 2224 bytes --]

  reply	other threads:[~2022-04-18 19:10 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 [this message]
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='CA+3U0Z=DSM29tJHS9vjVuWv1P6eYAJYJpwXxG9aNpSk2MJwMeQ@mail.gmail.com' \
    --to=code@greghogan.com \
    --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).