nixos/misc: Fix nixpkgs.config merge function
Previously nested attrsets would override each other
This commit is contained in:
parent
809b38a784
commit
ca3820dd00
@ -19,7 +19,7 @@ let
|
|||||||
lhs = optCall lhs_ { inherit pkgs; };
|
lhs = optCall lhs_ { inherit pkgs; };
|
||||||
rhs = optCall rhs_ { inherit pkgs; };
|
rhs = optCall rhs_ { inherit pkgs; };
|
||||||
in
|
in
|
||||||
lhs // rhs //
|
recursiveUpdate lhs rhs //
|
||||||
optionalAttrs (lhs ? packageOverrides) {
|
optionalAttrs (lhs ? packageOverrides) {
|
||||||
packageOverrides = pkgs:
|
packageOverrides = pkgs:
|
||||||
optCall lhs.packageOverrides pkgs //
|
optCall lhs.packageOverrides pkgs //
|
||||||
|
Loading…
Reference in New Issue
Block a user