Make php packages available in nix-env

This commit is contained in:
Shea Levy 2014-07-03 10:19:57 -04:00
parent cb86818789
commit 2fe4eb3df9
2 changed files with 5 additions and 3 deletions

View File

@ -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 [];

View File

@ -3523,9 +3523,9 @@ let
php = php54;
phpPackages = import ./php-packages.nix {
phpPackages = recurseIntoAttrs (import ./php-packages.nix {
inherit php pkgs;
};
});
php53 = callPackage ../development/interpreters/php/5.3.nix { };