haskell-ng: hoogleLocal support

This commit is contained in:
Charles Strahan
2015-06-11 20:25:31 -04:00
parent cd28c5517c
commit 3859f7bdab
5 changed files with 126 additions and 3 deletions
+6
View File
@@ -79,4 +79,10 @@ rec {
triggerRebuild = drv: i: overrideCabal drv (drv: { postUnpack = ": trigger rebuild ${toString i}"; });
withHoogle = haskellEnv: with haskellEnv.haskellPackages;
import ./hoogle.nix {
inherit (pkgs) stdenv;
inherit hoogle rehoo ghc;
packages = haskellEnv.paths;
};
}