fix(flake/inputs): change merge function to lib.recursiveUpdate
This commit is contained in:
parent
0cb40e954f
commit
9135a2fd12
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@
|
||||||
> Then accessing inputs in repl, remove {class}, so instead of calling e.g. `flake.inputs.core.nixpkgs`,
|
> Then accessing inputs in repl, remove {class}, so instead of calling e.g. `flake.inputs.core.nixpkgs`,
|
||||||
> you call `flake.inputs.nixpkgs`.
|
> you call `flake.inputs.nixpkgs`.
|
||||||
*/
|
*/
|
||||||
lib.foldl' (acc: value: acc // value) { } (
|
lib.foldl' (acc: value: lib.recursiveUpdate acc value) { } (
|
||||||
map (file: import ./${file}) (
|
map (file: import ./${file}) (
|
||||||
builtins.filter (name: name != "default.nix") (builtins.attrNames (builtins.readDir ./.))
|
builtins.filter (name: name != "default.nix") (builtins.attrNames (builtins.readDir ./.))
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue