carp: work around new GHC warning breaking the build
This commit is contained in:
parent
3f7a1c05f1
commit
97c9a698d1
1 changed files with 6 additions and 0 deletions
|
@ -11,6 +11,12 @@ haskellPackages.mkDerivation rec {
|
||||||
sha256 = "sha256-o7NLd7jC1BvcoVzbD18LvHg/SqOnfn9yELUrpg2uZtY=";
|
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 ];
|
buildTools = [ makeWrapper ];
|
||||||
|
|
||||||
executableHaskellDepends = with haskellPackages; [
|
executableHaskellDepends = with haskellPackages; [
|
||||||
|
|
Loading…
Reference in a new issue