Skip to content

Commit

Permalink
haskell: Allow building packages with GHC 9.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Sydney Kerckhove committed May 13, 2024
1 parent 767d4d5 commit 6b5494f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/development/haskell-modules/generic-builder.nix
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,9 @@ stdenv.mkDerivation ({
# `--test-option`, so Cabal passes it to the underlying test suite binary.
checkPhase = ''
runHook preCheck
unset GHC_PACKAGE_PATH # Cabal complains if this variable is set during check.
checkFlagsArray+=(
"--show-details=streaming"
${lib.escapeShellArgs (builtins.map (opt: "--test-option=${opt}") testFlags)}
Expand Down

0 comments on commit 6b5494f

Please sign in to comment.