2017-10-02 20:32:24 +00:00
|
|
|
{pkgs ? import <nixpkgs> {
|
|
|
|
inherit system;
|
2021-04-10 21:56:19 +00:00
|
|
|
}, system ? builtins.currentSystem, noDev ? false, php ? pkgs.php, phpPackages ? pkgs.phpPackages}:
|
2017-10-02 20:32:24 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
composerEnv = import ./src/Composer2Nix/composer-env.nix {
|
2021-04-10 21:56:19 +00:00
|
|
|
inherit (pkgs) stdenv lib writeTextFile fetchurl unzip;
|
|
|
|
inherit php phpPackages;
|
2017-10-02 20:32:24 +00:00
|
|
|
};
|
|
|
|
in
|
|
|
|
import ./php-packages.nix {
|
|
|
|
inherit composerEnv noDev;
|
|
|
|
inherit (pkgs) fetchurl fetchgit fetchhg fetchsvn;
|
2021-02-16 18:37:13 +00:00
|
|
|
}
|