Merge pull request #21002 from Profpatsch/hoogle-local
haskellPackages: add hoogleLocal
This commit is contained in:
commit
09fecd18b2
1 changed files with 5 additions and 0 deletions
|
@ -18,6 +18,11 @@ self: super: {
|
||||||
# Apply NixOS-specific patches.
|
# Apply NixOS-specific patches.
|
||||||
ghc-paths = appendPatch super.ghc-paths ./patches/ghc-paths-nix.patch;
|
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.
|
# Break infinite recursions.
|
||||||
clock = dontCheck super.clock;
|
clock = dontCheck super.clock;
|
||||||
Dust-crypto = dontCheck super.Dust-crypto;
|
Dust-crypto = dontCheck super.Dust-crypto;
|
||||||
|
|
Loading…
Reference in a new issue