1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-03 17:14:08 +02:00

build new 8.0 and 8.1 images

This commit is contained in:
Robin Appelman 2026-03-09 22:48:27 +01:00
commit 8780fe0754
6 changed files with 108 additions and 7 deletions

View file

@ -3,7 +3,9 @@
php,
debug ? false,
}: let
inherit (builtins) compareVersions;
inherit (lib) optionals;
withBlackfire = !debug && ((compareVersions php.version "8.1.0") == 1);
in
php.buildEnv {
extensions = {
@ -36,6 +38,8 @@ in
]
++ optionals (!debug) [
smbclient # this breaks the build for no apparent reason
]
++ optionals withBlackfire [
blackfire
]);
extraConfig = ''

View file

@ -4,4 +4,5 @@ final: prev: {
haze-image-php-83 = final.callPackage ./image/haze.nix {php = final.php83;};
haze-image-php-82 = final.callPackage ./image/haze.nix {php = final.php82;};
haze-image-php-81 = final.callPackage ./image/haze.nix {php = final.php81;};
haze-image-php-80 = final.callPackage ./image/haze.nix {php = final.php80;};
}