mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
nixos/misc: Fix nixpkgs.config merge function
Previously nested attrsets would override each other
This commit is contained in:
parent
809b38a784
commit
ca3820dd00
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ let
|
|||
lhs = optCall lhs_ { inherit pkgs; };
|
||||
rhs = optCall rhs_ { inherit pkgs; };
|
||||
in
|
||||
lhs // rhs //
|
||||
recursiveUpdate lhs rhs //
|
||||
optionalAttrs (lhs ? packageOverrides) {
|
||||
packageOverrides = pkgs:
|
||||
optCall lhs.packageOverrides pkgs //
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue