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:
parent
e0d34cfeca
commit
1486fee1d3
|
@ -1075,14 +1075,3 @@ self: super: {
|
||||||
in {
|
in {
|
||||||
inherit amazonka amazonka-core amazonka-test;
|
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
|
|
||||||
)
|
|
||||||
|
|
Loading…
Reference in a new issue