aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/rl-next/fix-nested-follows.md21
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.