[Nix-dev] Nix package manager issues

Lluís Batlle i Rossell viriketo at gmail.com
Tue Sep 6 10:01:11 CEST 2011


On Tue, Sep 06, 2011 at 05:11:33AM +0200, Rickard Ekman wrote:
> I've seemed to somehow break my installation, yesterday it worked fine and
> packages installed correctly but when I try to install them today all the
> files get downloaded as usual but it seems to fail at the linking procedure.
> It returns
> "warning: '/home/kraffs/*-1-link' is not a directory where the garbage
> collector looks for roots; therefore,
> '/nix/store/pq11pa0fjb4vk3n56i12gxy3121hhsxp-user-environment' might be
> removed by the garbage collector."

I guess that you told nix-env to use the profile name '*', something like:
nix-env -p '*', while being in the home directory.

To fix it, something like this may do:
nix-env -p /nix/var/nix/profiles/default



More information about the nix-dev mailing list