diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2024-05-04 08:52:29 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@lix> | 2024-05-04 08:52:29 +0000 |
commit | 799d0132f0797f59cda8c66cde968aba8c3486c3 (patch) | |
tree | 804ea4829bb1798a644e3199d27a65dea6b80769 /doc/manual/rl-next/fix-nested-follows.md | |
parent | 79d0ae667066b758fd4202cd18294a0f40ddc8f0 (diff) | |
parent | 0e38720502c10ddba4afb8c49532b69be83e23a7 (diff) |
Merge "Revert "Revert "Merge pull request #6621 from Kha/nested-follows""" into main
Diffstat (limited to 'doc/manual/rl-next/fix-nested-follows.md')
-rw-r--r-- | doc/manual/rl-next/fix-nested-follows.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/manual/rl-next/fix-nested-follows.md b/doc/manual/rl-next/fix-nested-follows.md new file mode 100644 index 000000000..d4a381ba4 --- /dev/null +++ b/doc/manual/rl-next/fix-nested-follows.md @@ -0,0 +1,21 @@ +--- +synopsis: Fix nested flake input `follows` +prs: 6621 +cls: 994 +--- + +Previously nested-input overrides were ignored; that is, the following did not +override anything, in spite of the `nix3-flake` manual documenting it working: + +``` +{ + inputs = { + foo.url = "github:bar/foo"; + foo.inputs.bar.inputs.nixpkgs = "nixpkgs"; + }; +} +``` + +This is useful to avoid the 1000 instances of nixpkgs problem without having +each flake in the dependency tree to expose all of its transitive dependencies +for modification. |