Merge pull request #21002 from Profpatsch/hoogle-local

haskellPackages: add hoogleLocal
This commit is contained in:
Peter Simons 2016-12-12 14:46:27 +01:00 committed by GitHub
commit 09fecd18b2

View file

@ -18,6 +18,11 @@ self: super: {
# Apply NixOS-specific patches.
ghc-paths = appendPatch super.ghc-paths ./patches/ghc-paths-nix.patch;
# enable using a local hoogle with extra packagages in the database
# nix-shell -p "haskellPackages.hoogleLocal (with haskellPackages; [ mtl lens ])"
# $ hoogle server
hoogleLocal = { packages ? [] }: self.callPackage ./hoogle.nix { inherit packages; };
# Break infinite recursions.
clock = dontCheck super.clock;
Dust-crypto = dontCheck super.Dust-crypto;