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

View File

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