1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-09 03:56:01 +01:00
nix/src
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
..
build-remote build-remote: only allocate storeUri once 2024-07-25 14:04:03 +02:00
external-api-docs Format .nix files 2025-01-24 17:04:02 +01:00
internal-api-docs Format .nix files 2025-01-24 17:04:02 +01:00
libcmd Remove FlakeRef::fetchTree() 2025-02-04 16:26:22 +01:00
libexpr Merge pull request #12376 from DeterminateSystems/fetch-using-nar-hash 2025-02-02 02:10:35 +00:00
libexpr-c refactor: Extract EvalState::realiseString 2025-01-27 12:32:46 +01:00
libexpr-test-support Format .nix files 2025-01-24 17:04:02 +01:00
libexpr-tests Format .nix files 2025-01-24 17:04:02 +01:00
libfetchers Add FIXME 2025-02-04 16:41:10 +01:00
libfetchers-tests Format .nix files 2025-01-24 17:04:02 +01:00
libflake Add inputs.self.submodules flake attribute 2025-02-04 21:16:33 +01:00
libflake-c Format .nix files 2025-01-24 17:04:02 +01:00
libflake-tests Format .nix files 2025-01-24 17:04:02 +01:00
libmain Format .nix files 2025-01-24 17:04:02 +01:00
libmain-c Format .nix files 2025-01-24 17:04:02 +01:00
libstore Inline getDerivation and loadDerivation 2025-02-03 13:13:04 -05:00
libstore-c Format .nix files 2025-01-24 17:04:02 +01:00
libstore-test-support Format .nix files 2025-01-24 17:04:02 +01:00
libstore-tests Format .nix files 2025-01-24 17:04:02 +01:00
libutil Merge pull request #12249 from nix-windows/stack-size 2025-01-31 22:57:01 -05:00
libutil-c Format .nix files 2025-01-24 17:04:02 +01:00
libutil-test-support Format .nix files 2025-01-24 17:04:02 +01:00
libutil-tests Format .nix files 2025-01-24 17:04:02 +01:00
nix Remove FlakeRef::fetchTree() 2025-02-04 16:26:22 +01:00
nix-build Fix issue 11892 2024-11-18 21:04:04 +01:00
nix-channel Format .nix files 2025-01-24 17:04:02 +01:00
nix-collect-garbage More std::filesystem for nix-collect-garbage 2024-08-26 17:29:23 -04:00
nix-copy-closure Restrict some code to StoreDirConfig 2023-11-04 19:05:36 -04:00
nix-env Format .nix files 2025-01-24 17:04:02 +01:00
nix-instantiate feat(nix-instantiate): add --raw flag 2024-12-31 16:36:49 +01:00
nix-store fix: Resolve CLI parent symlinks before adding to store 2025-01-07 05:42:03 +00:00
perl Format .nix files 2025-01-24 17:04:02 +01:00
nix-functional-tests Build Functional tests with Meson 2024-08-14 15:35:40 -04:00
nix-manual Build the manual with Meson 2024-10-09 11:58:17 -04:00