summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-common.nix
diff options
context:
space:
mode:
authorMalte Brandy <malte.brandy@maralorn.de>2020-05-05 22:05:49 +0200
committerPeter Simons <simons@cryp.to>2020-05-08 21:11:46 +0200
commit4f0200a3fcdc806aa47e3349eb493bf50bf3cf30 (patch)
treee6247833c05ecd7890258c627343a892dda0f3b6 /pkgs/development/haskell-modules/configuration-common.nix
parentba3ab23b4b826a6f02e77757b2d5064b7eb4c258 (diff)
downloadnixpkgs-4f0200a3fcdc806aa47e3349eb493bf50bf3cf30.tar
nixpkgs-4f0200a3fcdc806aa47e3349eb493bf50bf3cf30.tar.gz
nixpkgs-4f0200a3fcdc806aa47e3349eb493bf50bf3cf30.tar.bz2
nixpkgs-4f0200a3fcdc806aa47e3349eb493bf50bf3cf30.tar.lz
nixpkgs-4f0200a3fcdc806aa47e3349eb493bf50bf3cf30.tar.xz
nixpkgs-4f0200a3fcdc806aa47e3349eb493bf50bf3cf30.tar.zst
nixpkgs-4f0200a3fcdc806aa47e3349eb493bf50bf3cf30.zip
haskellPackages.hlint: Fix build
hlint 3.0 is shiny and new and is very picky in its dependencies.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 9961e3b79e9..3c70be5eebd 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -1501,4 +1501,18 @@ self: super: {
     haskell-lsp = self.haskell-lsp_0_19_0_0;
   });
 
+  # stackage right now is not new enough for hlint-3.0
+  ghc-lib-parser-ex_8_10_0_6 = super.ghc-lib-parser-ex_8_10_0_6.override {
+    ghc-lib-parser = self.ghc-lib-parser_8_10_1_20200412;
+  };
+
+  hlint = super.hlint.override {
+    ghc-lib-parser = self.ghc-lib-parser_8_10_1_20200412;
+    ghc-lib-parser-ex = self.ghc-lib-parser-ex_8_10_0_6;
+    extra = self.extra_1_7_1;
+    filepattern = self.filepattern.override {
+      extra = self.extra_1_7_1;
+    };
+  };
+
 } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super