1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 10:41:16 +02:00
nix/tests
Eelco Dolstra 25fcc8d1ab Add inputs.self.submodules flake attribute
This allows a flake to specify that it needs Git submodules to be
enabled (or disabled, if we ever change the default) on the top-level
flake. This requires the input to be refetched, but since the first
fetch is lazy, this shouldn't be expensive.

Currently the only attribute allowed by `inputs.self` is `submodules`,
but more can be added in the future (e.g. a `lazy` attribute to opt in
to lazy tree behaviour).

Fixes #5312, #9842.
2025-02-04 21:16:33 +01:00
..
functional Add inputs.self.submodules flake attribute 2025-02-04 21:16:33 +01:00
installer Format .nix files 2025-01-24 17:04:02 +01:00
nixos Format .nix files 2025-01-24 17:04:02 +01:00
repl-completion.nix Format .nix files 2025-01-24 17:04:02 +01:00