From 1b18bd3dd74c8dd628396ee14c4a03c52cb6f57c Mon Sep 17 00:00:00 2001 From: Dennis Gosnell Date: Mon, 7 Apr 2025 08:31:00 +0900 Subject: [PATCH] stack: change dep from hpack-0.37.0 to hpack-0.38.0 to match upstream --- 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 a599a3537e43..3b06612b3535 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -2088,6 +2088,14 @@ self: super: ) ); + stack = super.stack.overrideScope ( + self: super: { + # stack needs to be built with the same hpack version that the upstream releases use. + # https://github.com/NixOS/nixpkgs/issues/223390 + hpack = self.hpack_0_38_0; + } + ); + # ShellCheck < 0.10.0 needs to be adjusted for changes in fgl >= 5.8 # https://github.com/koalaman/shellcheck/issues/2677 ShellCheck_0_9_0 = doJailbreak (