Ah, nice! It works. I misunderstood the mechanism. I thought the "roots" were every single link in itself, not the whole directory. Thanks for the clarification. Marco
2012/5/29 Lluís Batlle i Rossell <[email protected]>: > On Tue, May 29, 2012 at 01:56:45PM +0200, Marco Maggesi wrote: >> Hi, >> I removed a generation by mistake from /nix/var/nix/profile. >> But I din't yet run GC and I know the original path in /nix/store >> Can I use nix-store to restore the link (and register the the root)? > > 'register the root' is simply making a symlink like those in > /nix/var/nix/profile. The whole /nix/var/nix/profile is pointed as gcroot, > iirc. > _______________________________________________ > nix-dev mailing list > [email protected] > http://lists.science.uu.nl/mailman/listinfo/nix-dev _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
