[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error messages and progress report
From: |
Ludovic Courtès |
Subject: |
Re: Error messages and progress report |
Date: |
Wed, 12 Dec 2012 00:15:37 +0100 |
User-agent: |
Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux) |
Andreas Enge <address@hidden> skribis:
> Am Dienstag, 11. Dezember 2012 schrieb Ludovic Courtès:
>> Anyway, what does work is something like:
>> $ guix-package --profile=$HOME/.guix-profile --install=hello
>
> This worked, but in a rather strange way. .guix-profile did not exist
> yet. It was created as a symbolic link to the new file
> .guix-profile-1-link, itself a symbolic link to
> /nix/store/1n6bpxkjq2w1m8nlyc6c6bpf0y8rspi0-user-environment .
>
> I deleted the redirection and let .guix-profile point to /nix/store/...
> directly. Then adding a second package recreates the previous situation,
> with .guix-profile-1-link pointing to a different user environment
> in /nix/store. And after removing the second package, I get a
> .guix-profile-2-link pointing to the previous user environment in
> /nix/store. Interesting!
This is expected. As with nix-env, there’d normally be a
~/.guix-profile pointing to
/nix/var/nix/profiles/per-user/$USER/profile, which would itself point
to profile-X-link in the same directory (where X is the generation
number.) So what you’re observing is basically this.
> As for the rough edges, installing the hello package twice results in
> an error message, too.
Commit 1c67d63 fixes that.
> Another question: My guix source and compile directory gets populated
> with symbolic links t-profile* to files /nix/store/*user-environment
> that survive even to "make distclean". I suppose I can safely delete them?
> If yes, could they be deleted by "make clean"?
Yes. These were leftovers from tests/guix-package.sh. I think 7a6548c
solves that.
Thanks!
Ludo’.
- Re: Error messages and progress report, (continued)
- Re: Error messages and progress report, Ludovic Courtès, 2012/12/10
- Re: Error messages and progress report, Andreas Enge, 2012/12/10
- Re: Error messages and progress report, Andreas Enge, 2012/12/11
- Re: Error messages and progress report, Nikita Karetnikov, 2012/12/11
- Re: Error messages and progress report, Ludovic Courtès, 2012/12/11
- Re: Error messages and progress report, Andreas Enge, 2012/12/11
- Re: Error messages and progress report, Andreas Enge, 2012/12/11
- Re: Error messages and progress report, Ludovic Courtès, 2012/12/11
- Re: Error messages and progress report, Andreas Enge, 2012/12/12
- Re: Error messages and progress report, Andreas Enge, 2012/12/13
- Re: Error messages and progress report,
Ludovic Courtès <=
- Re: Error messages and progress report, Andreas Enge, 2012/12/12
- Re: Error messages and progress report, Ludovic Courtès, 2012/12/12