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.
main
sternenseemann 2 years ago
parent 0e233d7a63
commit 35aff43aba
  1. 3
      pkgs/development/haskell-modules/configuration-common.nix
  2. 3
      pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix

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

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

Loading…
Cancel
Save