haskell-packages: make hoogle wrapper much more helpful

* Build most of the stuff on /tmp, not in /nix/store.
* Generate hoogle database for all the dependencies.
* Generate haddock index and contents files.
* Cleanup.
This commit is contained in:
Jan Malakhovski
2015-08-18 19:56:17 +00:00
parent d8487667cf
commit 0013743845
3 changed files with 40 additions and 26 deletions
+1
View File
@@ -85,6 +85,7 @@ rec {
withHoogle = haskellEnv: with haskellEnv.haskellPackages;
import ./hoogle.nix {
inherit (pkgs) stdenv;
inherit (pkgs.stdenv) lib;
inherit hoogle rehoo ghc;
packages = haskellEnv.paths;
};