Merge pull request #66450 from Infinisil/fix-nixpkgs.config-type

nixos/misc: Fix nixpkgs.config merge function
This commit is contained in:
Silvan Mosberger 2019-08-10 20:59:50 +02:00 committed by GitHub
commit 5c7afdd607
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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