From f9f680013cb49adc2c791d4f73418f8e454be87d Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Sat, 3 Sep 2016 16:35:19 +0200 Subject: [PATCH] haskell: fix ghcWithHoogle to version 4 Version 5 does not yet work with the ghcWithHoogle infrastructure. This fixes Hoogle to version 4 as a temporary measure. --- pkgs/development/haskell-modules/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/default.nix b/pkgs/development/haskell-modules/default.nix index 4bc9a2af5501..baec1bfb818d 100644 --- a/pkgs/development/haskell-modules/default.nix +++ b/pkgs/development/haskell-modules/default.nix @@ -85,7 +85,10 @@ let ghcWithHoogle = selectFrom: let packages = selectFrom self; - hoogle = callPackage ./hoogle.nix { inherit packages; }; + hoogle = callPackage ./hoogle.nix { + inherit packages; + hoogle = self.hoogle_4_2_43; + }; in withPackages (packages ++ [ hoogle ]); ghc = ghc // {