haskell: Add setup depends for Cabal
This commit is contained in:
parent
f8ec07e836
commit
6d5751bfa5
@ -1068,3 +1068,14 @@ 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…
x
Reference in New Issue
Block a user