summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-common.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2018-06-22 12:07:51 +0200
committerPeter Simons <simons@cryp.to>2018-06-22 17:50:11 +0200
commit1486fee1d3acc6f7e4dfa6c921042414cf20a671 (patch)
treed3e2f960512d8c9740458027613a60133222876c /pkgs/development/haskell-modules/configuration-common.nix
parente0d34cfecaf5252d20428d66d171e05936a24337 (diff)
downloadnixlib-1486fee1d3acc6f7e4dfa6c921042414cf20a671.tar
nixlib-1486fee1d3acc6f7e4dfa6c921042414cf20a671.tar.gz
nixlib-1486fee1d3acc6f7e4dfa6c921042414cf20a671.tar.bz2
nixlib-1486fee1d3acc6f7e4dfa6c921042414cf20a671.tar.lz
nixlib-1486fee1d3acc6f7e4dfa6c921042414cf20a671.tar.xz
nixlib-1486fee1d3acc6f7e4dfa6c921042414cf20a671.tar.zst
nixlib-1486fee1d3acc6f7e4dfa6c921042414cf20a671.zip
haskell-Cabal: drop obsolete override to fix Setup dependencies
This is now handled by cabal2nix:

 - https://github.com/NixOS/cabal2nix/commit/7ccbd668d1f9f8154a1fbc1ba48d7a483f37a2a7.
 - https://github.com/NixOS/nixpkgs/pull/41939
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix11
1 files changed, 0 insertions, 11 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 0fd1a03f316c..20a908858e9c 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -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
-)