diff options
author | Dennis Gosnell <cdep.illabout@gmail.com> | 2023-04-05 14:18:22 +0900 |
---|---|---|
committer | Dennis Gosnell <cdep.illabout@gmail.com> | 2023-04-05 14:18:22 +0900 |
commit | cbc30e4bbc341f1538bc87d7016cacd22eaede2f (patch) | |
tree | 3565b29b925601ed4ab863db41ffb9b1a4f24d1c /pkgs/development/haskell-modules | |
parent | 63778a43e815cc08073682cc8abf05b67e24fbb8 (diff) |
stack: make sure to pin the hpack version to 0.35.0 to match upstream
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-common.nix | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 7f8a77fe57843..bcac42b6499f0 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1157,7 +1157,18 @@ self: super: { jailbreak = assert drv.version == "1.0.9" && drv.revision == "1"; true; }) super.dhall-nixpkgs); - stack = self.generateOptparseApplicativeCompletions [ "stack" ] super.stack; + stack = + self.generateOptparseApplicativeCompletions + [ "stack" ] + (super.stack.override { + # stack needs to use an exact hpack version. When changing or removing + # this override, double-check the upstream stack release to confirm + # that we are using the correct hpack version. See + # https://github.com/NixOS/nixpkgs/issues/223390 for more information. + # + # hpack tests fail because of https://github.com/sol/hpack/issues/528 + hpack = dontCheck self.hpack_0_35_0; + }); # Too strict version bound on hashable-time. # Tests require newer package version. |