carp: work around new GHC warning breaking the build

main
sternenseemann 2 years ago
parent 3f7a1c05f1
commit 97c9a698d1
  1. 6
      pkgs/development/compilers/carp/default.nix

@ -11,6 +11,12 @@ haskellPackages.mkDerivation rec {
sha256 = "sha256-o7NLd7jC1BvcoVzbD18LvHg/SqOnfn9yELUrpg2uZtY=";
};
# -Werror breaks build with GHC >= 9.0
# https://github.com/carp-lang/Carp/issues/1386
postPatch = ''
substituteInPlace CarpHask.cabal --replace "-Werror" ""
'';
buildTools = [ makeWrapper ];
executableHaskellDepends = with haskellPackages; [

Loading…
Cancel
Save