diff --git a/pkgs/development/haskell-modules/hoogle.nix b/pkgs/development/haskell-modules/hoogle.nix index 8518a5391de..4c8bf8c2d28 100644 --- a/pkgs/development/haskell-modules/hoogle.nix +++ b/pkgs/development/haskell-modules/hoogle.nix @@ -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;