about summary refs log tree commit diff
path: root/pkgs/applications/science/math/mathematica
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-11-19 19:42:22 -0500
committerGitHub <noreply@github.com>2020-11-19 19:42:22 -0500
commit7263f7c433c840c042d315e8c2ebdb51ed19fe96 (patch)
treeb69b13d215687141416abbc1179cd2ccd2f44404 /pkgs/applications/science/math/mathematica
parent7aea165e7280c02d9b0433fe83b7dc5afd0ddfcb (diff)
mathematica: Prefer building locally (#100856)
There is little benefit to copying a 4GB tarball over the network,
just to perform an I/O-bound operation and then copy the
multi-gigabyte result back.
Diffstat (limited to 'pkgs/applications/science/math/mathematica')
-rw-r--r--pkgs/applications/science/math/mathematica/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/science/math/mathematica/default.nix b/pkgs/applications/science/math/mathematica/default.nix
index ace5ee55d7b16..d04a89bd8842d 100644
--- a/pkgs/applications/science/math/mathematica/default.nix
+++ b/pkgs/applications/science/math/mathematica/default.nix
@@ -144,6 +144,9 @@ stdenv.mkDerivation rec {
   '';
 
   dontBuild = true;
+  
+  # This is primarily an IO bound build; there's little benefit to building remotely.
+  preferLocalBuild = true;
 
   # all binaries are already stripped
   dontStrip = true;