haskellPackages.hoogleLocal: allow substitutes again
This is a follow up to the discussion in https://github.com/NixOS/nixpkgs/pull/165337
This commit is contained in:
parent
04fc3a1135
commit
a0809c0293
1 changed files with 6 additions and 3 deletions
|
@ -49,9 +49,12 @@ buildPackages.stdenv.mkDerivation {
|
|||
# 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;
|
||||
|
||||
# we still allow substitutes because a database is relatively small and if it
|
||||
# is already built downloading is probably faster. The substitution will only
|
||||
# trigger for users who have already cached the database on a substituter and
|
||||
# thus probably intend to substitute it.
|
||||
allowSubstitutes = true;
|
||||
|
||||
inherit docPackages;
|
||||
|
||||
|
|
Loading…
Reference in a new issue