File tree 1 file changed +15
-0
lines changed
1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ synopsis : Non-flake inputs now contain a `sourceInfo` attribute
3
+ issues : 13164
4
+ prs : 13170
5
+ ---
6
+
7
+ Flakes have always a ` sourceInfo ` attribute which describes the source of the flake.
8
+ The ` sourceInfo.outPath ` is often identical to the flake's ` outPath ` , however it can differ when the flake is located in a subdirectory of its source.
9
+
10
+ Non-flake inputs (i.e. inputs with ` flake = false ` ) can also be located at some path _ within_ a wider source.
11
+ This usually happens when defining a relative path input within the same source as the parent flake, e.g. ` inputs.foo.url = ./some-file.nix ` .
12
+ Such relative inputs will now inherit their parent's ` sourceInfo ` .
13
+
14
+ This iterates on the work done in 2.26 to improve relative path support ([ #10089 ] ( https://github.com/NixOS/nix/pull/10089 ) ),
15
+ and resolves a regression introduced in 2.28 relating to nested relative path inputs ([ #13164 ] ( https://github.com/NixOS/nix/issues/13164 ) ).
You can’t perform that action at this time.
0 commit comments