From 7263f7c433c840c042d315e8c2ebdb51ed19fe96 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Thu, 19 Nov 2020 19:42:22 -0500 Subject: [PATCH] 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. --- pkgs/applications/science/math/mathematica/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/science/math/mathematica/default.nix b/pkgs/applications/science/math/mathematica/default.nix index ace5ee55d7b..d04a89bd884 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;