From c1bbd4cb879b73617c4039d9a9254ea576296d73 Mon Sep 17 00:00:00 2001 From: Casey Link Date: Fri, 9 May 2025 15:21:00 +0200 Subject: [PATCH] davis: pin to php83 because php84 is broken As per upstream's request: https://github.com/tchapi/davis/issues/195#issuecomment-2866750216 The imap libraries have been unbundled in php 8.4 causing rippling effects throughout the ecosystem. https://php.watch/versions/8.4/imap-unbundled --- pkgs/by-name/da/davis/package.nix | 7 +++++-- pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/da/davis/package.nix b/pkgs/by-name/da/davis/package.nix index 9c937919c864..45923d8625f2 100644 --- a/pkgs/by-name/da/davis/package.nix +++ b/pkgs/by-name/da/davis/package.nix @@ -27,8 +27,11 @@ php.buildComposerProject2 (finalAttrs: { rm -rf "$out/share" ''; - passthru.tests = { - inherit (nixosTests) davis; + passthru = { + php = php; + tests = { + inherit (nixosTests) davis; + }; }; meta = { diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 198ea1b474a6..ac0bd59f05d4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -16940,4 +16940,8 @@ with pkgs; rustdesk-flutter = callPackage ../by-name/ru/rustdesk-flutter/package.nix { flutter = flutter324; }; + + davis = callPackage ../by-name/da/davis/package.nix { + php = php83; # https://github.com/tchapi/davis/issues/195 + }; }