Skip to content

Docs falsely state that lazy-trees are enabled by default #328

@erikarvstedt

Description

@erikarvstedt

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.tmp

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions