Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
{activation-scripts,activate-system}: check
gcroots
before linking
When `nix.enable` is off, we don’t necessarily have an active Nix installation, so there won’t necessarily be an active `/nix/var/nix/gcroots` directory to link things into. NixOS just skips this unconditionally when `nix.enable` is off, but that doesn’t work well with a context in which we usually expect `nix.enable` to be coupled with an unmanaged system installation of Nix. (cherry picked from commit 731910a)
- Loading branch information