[Nix-dev] Removed a generation by mistake.

Marco Maggesi maggesi at math.unifi.it
Tue May 29 22:08:17 CEST 2012


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 <viric at viric.name>:
> 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
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev


More information about the nix-dev mailing list