Merge nixpkgs.config.perlPackageOverrides

This commit is contained in:
Igor Pashev 2016-07-21 16:19:11 +03:00 committed by Robert Helgesson
parent 8b8a74d5d6
commit 7e48ecc0c0
No known key found for this signature in database
GPG Key ID: C3DB11069E65DC86

View File

@ -21,6 +21,11 @@ let
packageOverrides = pkgs: packageOverrides = pkgs:
optCall lhs.packageOverrides pkgs // optCall lhs.packageOverrides pkgs //
optCall (attrByPath ["packageOverrides"] ({}) rhs) pkgs; optCall (attrByPath ["packageOverrides"] ({}) rhs) pkgs;
} //
optionalAttrs (lhs ? perlPackageOverrides) {
perlPackageOverrides = pkgs:
optCall lhs.perlPackageOverrides pkgs //
optCall (attrByPath ["perlPackageOverrides"] ({}) rhs) pkgs;
}; };
configType = mkOptionType { configType = mkOptionType {