mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 14:41:27 +00:00
10 lines
257 B
Nix
10 lines
257 B
Nix
|
{ stdenv, php, autoreconfHook }:
|
||
|
|
||
|
args: stdenv.mkDerivation (args // {
|
||
|
buildInputs = [ php autoreconfHook ] ++ args.buildInputs or [];
|
||
|
|
||
|
makeFlags = [ "EXTENSION_DIR=$(out)/lib/php/extensions" ] ++ args.makeFlags or [];
|
||
|
|
||
|
autoreconfPhase = "phpize";
|
||
|
})
|