php: Make mkExtension pass on additional args to mkDerivation
This commit is contained in:
parent
8924a7de3d
commit
14bfb844d6
@ -716,7 +716,7 @@ let
|
|||||||
, zendExtension ? false
|
, zendExtension ? false
|
||||||
, doCheck ? true
|
, doCheck ? true
|
||||||
, ...
|
, ...
|
||||||
}: stdenv.mkDerivation {
|
}@args: stdenv.mkDerivation ((builtins.removeAttrs args [ "name" ]) // {
|
||||||
pname = "php-${name}";
|
pname = "php-${name}";
|
||||||
|
|
||||||
inherit (php) version src;
|
inherit (php) version src;
|
||||||
@ -748,7 +748,7 @@ let
|
|||||||
mkdir -p $out/lib/php/extensions
|
mkdir -p $out/lib/php/extensions
|
||||||
cp modules/${name}.so $out/lib/php/extensions/${name}.so
|
cp modules/${name}.so $out/lib/php/extensions/${name}.so
|
||||||
'';
|
'';
|
||||||
};
|
});
|
||||||
|
|
||||||
# This list contains build instructions for different modules that one may
|
# This list contains build instructions for different modules that one may
|
||||||
# want to build.
|
# want to build.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user