b1724b2f81
If the Nix daemon has never been enabled (nix.enable has always been set to false), the gcroots directory won't exist. If the Nix daemon is later enabled, the GC roots for booted-system and current-system will be missing, and they might end up being garbage collected. Since it's cheap to add GC roots even if the daemon will never be enabled, let's just always add them so we're okay in the case where the daemon is enabled later. |
||
---|---|---|
.. | ||
doc | ||
lib | ||
maintainers | ||
modules | ||
tests | ||
COPYING | ||
default.nix | ||
README | ||
release-combined.nix | ||
release-small.nix | ||
release.nix |
*** NixOS *** NixOS is a Linux distribution based on the purely functional package management system Nix. More information can be found at https://nixos.org/nixos and in the manual in doc/manual.