From 34db4e48b710c5e388cce26801274f434d4a0204 Mon Sep 17 00:00:00 2001 From: Alexandre Esteves Date: Mon, 6 Oct 2025 03:07:11 +0100 Subject: [PATCH] haskellPackages.streaming-commons: fix build on windows --- .../haskell-modules/configuration-windows.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-windows.nix b/pkgs/development/haskell-modules/configuration-windows.nix index aeb73a95649c..bef866162481 100644 --- a/pkgs/development/haskell-modules/configuration-windows.nix +++ b/pkgs/development/haskell-modules/configuration-windows.nix @@ -1,7 +1,7 @@ { pkgs, haskellLib }: let - inherit (pkgs) lib; + inherit (pkgs) fetchpatch lib; in with haskellLib; @@ -13,4 +13,11 @@ with haskellLib; addBuildDepends [ self.temporary ] super.network else super.network; + + # https://github.com/fpco/streaming-commons/pull/84 + streaming-commons = appendPatch (fetchpatch { + name = "fix-headers-case.patch"; + url = "https://github.com/fpco/streaming-commons/commit/6da611f63e9e862523ce6ee53262ddbc9681ae24.patch"; + sha256 = "sha256-giEQqXZfoiAvtCFohdgOoYna2Tnu5aSYAOUH8YVldi0="; + }) super.streaming-commons; })