2020-03-31 21:08:24 +00:00
|
|
|
{pkgs ? import <nixpkgs> {
|
|
|
|
inherit system;
|
2022-01-28 22:30:05 +00:00
|
|
|
}, system ? builtins.currentSystem, noDev ? false, php ? pkgs.php, phpPackages ? pkgs.phpPackages}:
|
2020-03-31 21:08:24 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
composerEnv = import ../../src/Composer2Nix/composer-env.nix {
|
2022-01-28 22:30:05 +00:00
|
|
|
inherit (pkgs) stdenv lib writeTextFile fetchurl unzip;
|
|
|
|
inherit php phpPackages;
|
2020-03-31 21:08:24 +00:00
|
|
|
};
|
|
|
|
in
|
|
|
|
import ./php-packages.nix {
|
|
|
|
inherit composerEnv noDev;
|
|
|
|
inherit (pkgs) fetchurl fetchgit fetchhg fetchsvn;
|
2021-02-18 18:35:55 +00:00
|
|
|
}
|