haskellPackages.csv: work around ill conceived Setup.hs

This Setup.hs uses Cabal < 3 defaultUserHooks for no apparent reason. We
can simply revert to the default Setup.hs, as was already done for GHC
8.10.
This commit is contained in:
sternenseemann 2022-02-20 20:10:56 +01:00
parent 0e233d7a63
commit 35aff43aba
2 changed files with 3 additions and 3 deletions

View file

@ -2202,4 +2202,7 @@ self: super: {
jailbreak = true;
}) super.aws;
# The shipped Setup.hs file is broken.
csv = overrideCabal (drv: { preCompileBuildDriver = "rm Setup.hs"; }) super.csv;
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super

View file

@ -71,9 +71,6 @@ self: super: {
shellmet = doJailbreak super.shellmet;
shower = doJailbreak super.shower;
# The shipped Setup.hs file is broken.
csv = overrideCabal (drv: { preCompileBuildDriver = "rm Setup.hs"; }) super.csv;
# Apply patch from https://github.com/finnsson/template-helper/issues/12#issuecomment-611795375 to fix the build.
language-haskell-extract = appendPatch (pkgs.fetchpatch {
name = "language-haskell-extract-0.2.4.patch";