From 0baca65faaf6623b3c920c28ff28f82aa2cce208 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Na=C3=AFm=20Camille=20Favier?= Date: Sat, 13 Jun 2026 15:24:46 +0200 Subject: [PATCH] haskellPackages.{rvar,random-fu}: fix build --- pkgs/development/haskell-modules/configuration-common.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 5a820ff6d7dc..65d13cd7dd92 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -376,6 +376,14 @@ with haskellLib; # https://github.com/yesodweb/shakespeare/issues/294 shakespeare = dontCheck super.shakespeare; + # https://github.com/haskell-numerics/random-fu/issues/100 + rvar = appendPatch (fetchpatch { + url = "https://github.com/adamConnerSax/random-fu/commit/51ba79d2cea5279821523a3861d4ec7196e71759.patch"; + relative = "rvar"; + hash = "sha256-YxGl81GaZ896SL+BuXkVZFFuu4DuwzQD+rssjkP7aPM="; + }) super.rvar; + random-fu = doJailbreak super.random-fu; + # Work around -Werror failures until a more permanent solution is released # https://github.com/haskell-cryptography/HsOpenSSL/issues/88 # https://github.com/haskell-cryptography/HsOpenSSL/issues/93