forked from the-distro/ofborg
de74c9e88c
Nixpkgs has dropped PHP 7.2. Updating to PHP 7.4 should be painless as our usage of PHP is very limited.
15 lines
364 B
Nix
15 lines
364 B
Nix
{pkgs ? import <nixpkgs> {
|
|
inherit system;
|
|
}, system ? builtins.currentSystem, noDev ? false}:
|
|
|
|
let
|
|
composerEnv = import ./composer-env.nix {
|
|
inherit (pkgs) stdenv lib writeTextFile fetchurl unzip phpPackages;
|
|
php = pkgs.php74;
|
|
};
|
|
in
|
|
import ./php-packages.nix {
|
|
inherit composerEnv noDev;
|
|
inherit (pkgs) fetchurl fetchgit fetchhg fetchsvn;
|
|
}
|