From 4f0200a3fcdc806aa47e3349eb493bf50bf3cf30 Mon Sep 17 00:00:00 2001 From: Malte Brandy Date: Tue, 5 May 2020 22:05:49 +0200 Subject: [PATCH] haskellPackages.hlint: Fix build hlint 3.0 is shiny and new and is very picky in its dependencies. --- .../haskell-modules/configuration-common.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 9961e3b79e98..3c70be5eebd6 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