aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/rl-next/fix-nested-follows.md
blob: d4a381ba49b7d1f3e6c4ea159e134c34f86f81b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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.