nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 callPackage,
3 stdenv,
4 llvmPackages,
5 pcre2,
6}:
7
8let
9 commonArgs = {
10 stdenv = if stdenv.cc.isClang then llvmPackages.stdenv else stdenv;
11 pcre2 = pcre2.override {
12 withJitSealloc = false; # See https://bugs.php.net/bug.php?id=78927 and https://bugs.php.net/bug.php?id=78630
13 };
14 };
15in
16{
17 php82 = callPackage ./8.2.nix commonArgs;
18 php83 = callPackage ./8.3.nix commonArgs;
19 php84 = callPackage ./8.4.nix commonArgs;
20 php85 = callPackage ./8.5.nix commonArgs;
21}