carp: work around new GHC warning breaking the build

This commit is contained in:
sternenseemann 2022-02-20 13:31:42 +01:00
parent 3f7a1c05f1
commit 97c9a698d1

View file

@ -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; [