summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2017-07-27 12:54:18 +0200
committerPeter Simons <simons@cryp.to>2017-07-27 15:47:03 +0200
commit382db8a9ad01a933e6839fe5cab42dd6df91aac6 (patch)
tree15f234a713ec28a186a9b9093fd9bbe20d5ec438 /pkgs
parent86b230efd919c6713fe6cb36eb3d98d575934728 (diff)
downloadnixlib-382db8a9ad01a933e6839fe5cab42dd6df91aac6.tar
nixlib-382db8a9ad01a933e6839fe5cab42dd6df91aac6.tar.gz
nixlib-382db8a9ad01a933e6839fe5cab42dd6df91aac6.tar.bz2
nixlib-382db8a9ad01a933e6839fe5cab42dd6df91aac6.tar.lz
nixlib-382db8a9ad01a933e6839fe5cab42dd6df91aac6.tar.xz
nixlib-382db8a9ad01a933e6839fe5cab42dd6df91aac6.tar.zst
nixlib-382db8a9ad01a933e6839fe5cab42dd6df91aac6.zip
cabal2nix: version 2.4 needs Cabal 2.x
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix
index 83efa6b0b5a3..bc72ec031adb 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix
@@ -47,8 +47,6 @@ self: super: {
     sha256 = "026vv2k3ks73jngwifszv8l59clg88pcdr4mz0wr0gamivkfa1zy";
   });
 
-  ## GHC 8.0.2
-
   # http://hub.darcs.net/dolio/vector-algorithms/issue/9#comment-20170112T145715
   vector-algorithms = dontCheck super.vector-algorithms;
 
@@ -60,4 +58,8 @@ self: super: {
 
   # Newer versions require ghc>=8.2
   apply-refact = super.apply-refact_0_3_0_1;
+
+  # This builds needs the latest Cabal version.
+  cabal2nix = super.cabal2nix.overrideScope (self: super: { Cabal = self.Cabal_2_0_0_2; });
+
 }