1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 12:42:24 +00:00
nixpkgs/pkgs/build-support/build-pecl.nix

10 lines
257 B
Nix
Raw Normal View History

2014-03-24 12:37:36 +00:00
{ 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";
})