diff options
author | Shea Levy <shea@shealevy.com> | 2014-07-03 10:19:57 -0400 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2014-07-03 10:19:57 -0400 |
commit | 2fe4eb3df97955e652169fe9584fbe7eb435b7a6 (patch) | |
tree | 20b6a438f66dcf933b16c7088d6547335918ac6d /pkgs/build-support/build-pecl.nix | |
parent | cb86818789ea9c76d127090b9047c3286dcb233a (diff) |
Make php packages available in nix-env
Diffstat (limited to 'pkgs/build-support/build-pecl.nix')
-rw-r--r-- | pkgs/build-support/build-pecl.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/build-support/build-pecl.nix b/pkgs/build-support/build-pecl.nix index d84497e8019c7..727ed0c21975b 100644 --- a/pkgs/build-support/build-pecl.nix +++ b/pkgs/build-support/build-pecl.nix @@ -1,6 +1,8 @@ { stdenv, php, autoreconfHook }: -args: stdenv.mkDerivation (args // { +args@{ name, ... }: stdenv.mkDerivation (args // { + name = "php-${name}"; + buildInputs = [ php autoreconfHook ] ++ args.buildInputs or []; makeFlags = [ "EXTENSION_DIR=$(out)/lib/php/extensions" ] ++ args.makeFlags or []; |