Skip to content

Commit

Permalink
stack: make sure to pin the hpack version to 0.35.0 to match upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
cdepillabout committed Apr 5, 2023
1 parent 63778a4 commit cbc30e4
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion pkgs/development/haskell-modules/configuration-common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit cbc30e4

Please sign in to comment.