Make php packages available in nix-env
This commit is contained in:
parent
cb86818789
commit
2fe4eb3df9
|
@ -1,6 +1,8 @@
|
||||||
{ stdenv, php, autoreconfHook }:
|
{ stdenv, php, autoreconfHook }:
|
||||||
|
|
||||||
args: stdenv.mkDerivation (args // {
|
args@{ name, ... }: stdenv.mkDerivation (args // {
|
||||||
|
name = "php-${name}";
|
||||||
|
|
||||||
buildInputs = [ php autoreconfHook ] ++ args.buildInputs or [];
|
buildInputs = [ php autoreconfHook ] ++ args.buildInputs or [];
|
||||||
|
|
||||||
makeFlags = [ "EXTENSION_DIR=$(out)/lib/php/extensions" ] ++ args.makeFlags or [];
|
makeFlags = [ "EXTENSION_DIR=$(out)/lib/php/extensions" ] ++ args.makeFlags or [];
|
||||||
|
|
|
@ -3523,9 +3523,9 @@ let
|
||||||
|
|
||||||
php = php54;
|
php = php54;
|
||||||
|
|
||||||
phpPackages = import ./php-packages.nix {
|
phpPackages = recurseIntoAttrs (import ./php-packages.nix {
|
||||||
inherit php pkgs;
|
inherit php pkgs;
|
||||||
};
|
});
|
||||||
|
|
||||||
php53 = callPackage ../development/interpreters/php/5.3.nix { };
|
php53 = callPackage ../development/interpreters/php/5.3.nix { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue