forked from NixOS/nix
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Docs:
Lazy trees are currently stable in Determinate Nix and enabled by default for all users.
But lazy-trees is disabled by default in the current version (3.15.2).
Also, github:DeterminateSystems/determinate#nixosModules.default doesn't enable lazy-trees in nix.conf.
To check that lazy-trees is off by default, ensure that nix.conf doesn't enable it and then run:
# Create tmp flake
mkdir -p /tmp/tmpflake
echo '{ outputs = _: { lib.a = "a"; }; }' > /tmp/tmpflake/flake.nix
touch /tmp/tmpflake/mydummyfile.tmp
(cd /tmp/tmpflake && git init && git add . && git commit -m init)
nix eval /tmp/tmpflake#lib.a
# Check that flake src was copied
ls /nix/store/*/mydummyfile.tmpMetadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation