fix(flake/inputs): change merge function to lib.recursiveUpdate

This commit is contained in:
Sk7Str1p3 2026-06-24 10:50:20 +00:00
parent 0cb40e954f
commit 9135a2fd12
Signed by: Sk7Str1p3
SSH key fingerprint: SHA256:GcXqjfo0IHK280c6aH9o5SmcOWyqMS8gjfOtDQ3gr/Q

View file

@ -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 ./.))
) )