From 6802b27da6a233a0ff7ab8f328e982fb7053e31e Mon Sep 17 00:00:00 2001 From: Jeremy Baxter Date: Fri, 25 Oct 2024 19:13:27 +1300 Subject: [PATCH] dmd: patch test needspkgmod.d Closes #350898 (cherry picked from commit 2f2926f5938977608be8b66a3d0634d1a8a8d6d0) --- pkgs/by-name/dm/dmd/generic.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/by-name/dm/dmd/generic.nix b/pkgs/by-name/dm/dmd/generic.nix index cf8cae7b4f5aa..1c68817ead2e3 100644 --- a/pkgs/by-name/dm/dmd/generic.nix +++ b/pkgs/by-name/dm/dmd/generic.nix @@ -82,6 +82,13 @@ stdenv.mkDerivation (finalAttrs: { extraPrefix = "dmd/"; hash = "sha256-N21mAPfaTo+zGCip4njejasraV5IsWVqlGR5eOdFZZE="; }) + ] ++ lib.optionals (lib.versionOlder version "2.110.0") [ + (fetchpatch { + url = "https://github.com/dlang/dmd/commit/fdd25893e0ac04893d6eba8652903d499b7b0dfc.patch"; + stripLen = 1; + extraPrefix = "dmd/"; + hash = "sha256-Uccb8rBPBLAEPWbOYWgdR5xN3wJoIkKKhLGu58IK1sM="; + }) ]; postPatch = ''