nixpkgs/pkgs/build-support/build-pecl.nix
2014-03-24 08:37:36 -04:00

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";
})