ofborg/php/default.nix
Andreas Rammhold de74c9e88c Fix the php packaging for the latest nixpkgs revision
Nixpkgs has dropped PHP 7.2. Updating to PHP 7.4 should be painless as
our usage of PHP is very limited.
2021-07-07 12:19:54 -07:00

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;
}