GNU bug report logs - #19278
%guix-version is incorrect in the presence of 'guix pull'

Previous Next

Package: guix;

Reported by: Tomas Cech <tcech <at> suse.cz>

Date: Fri, 5 Dec 2014 16:48:01 UTC

Severity: important

Merged with 19318

Found in version 0.9

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

Bug is archived. No further changes may be made.

Full log


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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Tomas Cech <tcech <at> suse.cz>
Cc: 19278 <at> debbugs.gnu.org
Subject: Re: bug#19278: guix needs to be installed for guix pull
Date: Fri, 12 Dec 2014 21:01:15 +0100
Tomas Cech <tcech <at> suse.cz> skribis:

> At Sat, 06 Dec 2014 23:56:48 +0100,
> Ludovic Courtès wrote:
>> 
>> Tomas Cech <tcech <at> suse.cz> skribis:
>> 
>> > `guix pull' requires to have guix among installed packages (`guix
>> > package -i guix')
>> 
>> That shouldn’t be the case.
>> 
>> Do you still have the error handy, or can you reproduce it?
>
> Yes, I just reproduced it. It can bee seen on version:
>
> tcech <at> venom ~ $ LC_ALL=C LANG=C guix --version
> guix (GNU Guix) 0.9
> Copyright (C) 2014 the Guix authors
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
>
> tcech <at> venom ~ $ LC_ALL=C LANG=C guix package -r guix
> The following package will be removed:
>    guix 0.8.3b09332     /gnu/store/nr7yppxdwb8gz8j323124bp06j9n6nz6-guix-0.8.3b09332
>
> The following derivations will be built:
>    /gnu/store/bc6fnvrf4h2k2m8b9w5ypgyadcyllqjp-profile.drv
>    /gnu/store/fi05mwsgaabbg0xdg5s4r9s0sv9jwamq-info-dir.drv
> 5 packages in profile
> ;;; note: source file /home/tcech/.config/guix/latest/gnu/packages/dwm.scm
> ;;;       newer than compiled /home/tcech/.config/guix/latest/gnu/packages/dwm.go
>
> tcech <at> venom ~ $ LC_ALL=C LANG=C /usr/bin/guix --version
> guix (GNU Guix) 0.8
> Copyright (C) 2014 the Guix authors
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.

But ‘guix pull’ is not used here.  I thought the problem had to do with
‘guix pull’, no?

AFAICS, in the example above, it’s just that at the beginning,
~/.guix-profile/bin/guix is being used (marked as “0.9”), and then
/usr/bin/guix is used instead (marked as “0.8”.)  Nothing special.

Thanks,
Ludo’.




This bug report was last modified 8 years and 311 days ago.

Previous Next


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