Merge pull request #66450 from Infinisil/fix-nixpkgs.config-type
nixos/misc: Fix nixpkgs.config merge function
This commit is contained in:
commit
5c7afdd607
@ -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