diff options
author | Shea Levy <shea@shealevy.com> | 2014-03-24 08:37:36 -0400 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2014-03-24 08:37:36 -0400 |
commit | d4c711ee1d1080179958fb2cb9553d73acf4b2af (patch) | |
tree | 569ee9d26ec08aff911f8824d9f4deffcca13979 /pkgs/build-support/build-pecl.nix | |
parent | fa5a583098f493fb6503967dc384cb7c5e82ee86 (diff) | |
download | nixlib-d4c711ee1d1080179958fb2cb9553d73acf4b2af.tar nixlib-d4c711ee1d1080179958fb2cb9553d73acf4b2af.tar.gz nixlib-d4c711ee1d1080179958fb2cb9553d73acf4b2af.tar.bz2 nixlib-d4c711ee1d1080179958fb2cb9553d73acf4b2af.tar.lz nixlib-d4c711ee1d1080179958fb2cb9553d73acf4b2af.tar.xz nixlib-d4c711ee1d1080179958fb2cb9553d73acf4b2af.tar.zst nixlib-d4c711ee1d1080179958fb2cb9553d73acf4b2af.zip |
Add memcache php module
Diffstat (limited to 'pkgs/build-support/build-pecl.nix')
-rw-r--r-- | pkgs/build-support/build-pecl.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/build-support/build-pecl.nix b/pkgs/build-support/build-pecl.nix new file mode 100644 index 000000000000..d84497e8019c --- /dev/null +++ b/pkgs/build-support/build-pecl.nix @@ -0,0 +1,9 @@ +{ 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"; +}) |