3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/build-support/build-pecl.nix
2014-07-03 10:19:57 -04:00

12 lines
296 B
Nix

{ stdenv, php, autoreconfHook }:
args@{ name, ... }: stdenv.mkDerivation (args // {
name = "php-${name}";
buildInputs = [ php autoreconfHook ] ++ args.buildInputs or [];
makeFlags = [ "EXTENSION_DIR=$(out)/lib/php/extensions" ] ++ args.makeFlags or [];
autoreconfPhase = "phpize";
})