Am Dienstag, 11. Dezember 2012 schrieb Andreas Enge:

> 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.

 

Well, this is actually not strange, but documented in the manual,

I realise upon reading it again.

 

> Yes. Currently ‘guix-package’ expects the default profile to be under

> /nix/var/nix/profiles/guix, which typically doesn’t exist, hence the

> failure.

 

However, the current behaviour is not consistent with the documentation.

"Instead of referring to these directories, users have their own

@dfn{profile}, which points to the packages that they actually want to

use. That profile is normally stored in @code{$HOME/.guix-profile}, and

each user has its own profile."

 

"@item --profile=@var{profile}

@itemx -p @var{profile}

Use @var{profile} instead of the user's default profile."

 

This should be easy to fix.

 

Andreas