3
0
Fork 0
forked from mirrors/nixpkgs

haskell-Cabal: drop obsolete override to fix Setup dependencies

This is now handled by cabal2nix:

 - 7ccbd668d1.
 - https://github.com/NixOS/nixpkgs/pull/41939
This commit is contained in:
Peter Simons 2018-06-22 12:07:51 +02:00
parent e0d34cfeca
commit 1486fee1d3

View file

@ -1075,14 +1075,3 @@ self: super: {
in {
inherit amazonka amazonka-core amazonka-test;
})
//
# The actual Cabal library gets built while building its `Setup.hs`.
(let
inherit (pkgs.lib) filterAttrs flip mapAttrs hasPrefix;
cabals = filterAttrs (n: v: hasPrefix "Cabal_" n) super;
fixCabal = n: v: addSetupDepends v [ self.mtl self.parsec ];
in
mapAttrs fixCabal cabals
)