diff options
author | Profpatsch <mail@profpatsch.de> | 2022-03-22 22:36:59 +0100 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2022-03-22 22:36:59 +0100 |
commit | 7f08e0ca6d029a0b54ba124f01da8731af68a74e (patch) | |
tree | 532394372e0d81b29e9d7d5e787636b617d3f936 /pkgs/development/haskell-modules | |
parent | b4c2ffaffa600ffce2121e21f65641ec92955781 (diff) | |
download | nixlib-7f08e0ca6d029a0b54ba124f01da8731af68a74e.tar nixlib-7f08e0ca6d029a0b54ba124f01da8731af68a74e.tar.gz nixlib-7f08e0ca6d029a0b54ba124f01da8731af68a74e.tar.bz2 nixlib-7f08e0ca6d029a0b54ba124f01da8731af68a74e.tar.lz nixlib-7f08e0ca6d029a0b54ba124f01da8731af68a74e.tar.xz nixlib-7f08e0ca6d029a0b54ba124f01da8731af68a74e.tar.zst nixlib-7f08e0ca6d029a0b54ba124f01da8731af68a74e.zip |
haskellPackages.hoogleLocal: build database locally
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r-- | pkgs/development/haskell-modules/hoogle.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/hoogle.nix b/pkgs/development/haskell-modules/hoogle.nix index 0b3f71995c99..8518a5391de7 100644 --- a/pkgs/development/haskell-modules/hoogle.nix +++ b/pkgs/development/haskell-modules/hoogle.nix @@ -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"]; |