mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
haskellPackages.hoogleLocal: build database locally
This commit is contained in:
parent
b4c2ffaffa
commit
7f08e0ca6d
1 changed files with 7 additions and 0 deletions
|
@ -46,6 +46,13 @@ buildPackages.stdenv.mkDerivation {
|
|||
name = "hoogle-with-packages";
|
||||
buildInputs = [ghc hoogle];
|
||||
|
||||
# compiling databases takes less time than copying the results
|
||||
# between machines.
|
||||
preferLocalBuild = true;
|
||||
# Plus, you need a complete database for each possible combination
|
||||
# of dependencies, caching them does not make sense.
|
||||
allowSubstitutes = false;
|
||||
|
||||
inherit docPackages;
|
||||
|
||||
passAsFile = ["buildCommand"];
|
||||
|
|
Loading…
Reference in a new issue