php: Make mkExtension pass on additional args to mkDerivation

This commit is contained in:
talyz 2020-03-26 14:13:30 +01:00
parent 8924a7de3d
commit 14bfb844d6
No known key found for this signature in database
GPG Key ID: 2DED2151F4671A2B

View File

@ -716,7 +716,7 @@ let
, zendExtension ? false
, doCheck ? true
, ...
}: stdenv.mkDerivation {
}@args: stdenv.mkDerivation ((builtins.removeAttrs args [ "name" ]) // {
pname = "php-${name}";
inherit (php) version src;
@ -748,7 +748,7 @@ let
mkdir -p $out/lib/php/extensions
cp modules/${name}.so $out/lib/php/extensions/${name}.so
'';
};
});
# This list contains build instructions for different modules that one may
# want to build.