[Nix-dev] Removed a generation by mistake.

Lluís Batlle i Rossell viric at viric.name
Tue May 29 14:27:43 CEST 2012


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.


More information about the nix-dev mailing list