From 4c35e0bcd86974de117ecf931cf7cc0ff86e2c3e Mon Sep 17 00:00:00 2001 From: Alexandre Esteves Date: Thu, 27 Mar 2025 22:50:44 +0000 Subject: [PATCH] haskellPackages.splitmix: fix build on js backend --- .../haskell-modules/configuration-ghcjs-9.x.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghcjs-9.x.nix b/pkgs/development/haskell-modules/configuration-ghcjs-9.x.nix index 4f7a23d04d10..00700e48e289 100644 --- a/pkgs/development/haskell-modules/configuration-ghcjs-9.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghcjs-9.x.nix @@ -54,4 +54,11 @@ with haskellLib; ] )) ]; + + # https://github.com/haskellari/splitmix/pull/75 + splitmix = appendPatch (pkgs.fetchpatch { + url = "https://github.com/haskellari/splitmix/commit/7ffb3158f577c48ab5de774abea47767921ef3e9.patch"; + sha256 = "sha256-n2q4FGf/pPcI1bhb9srHjHLzaNVehkdN6kQgL0F4MMg="; + }) super.splitmix; + })