diff --git a/pkgs/development/compilers/mlton/from-git-source.nix b/pkgs/development/compilers/mlton/from-git-source.nix index dc5862e6e3d..ec0b96bbf23 100644 --- a/pkgs/development/compilers/mlton/from-git-source.nix +++ b/pkgs/development/compilers/mlton/from-git-source.nix @@ -23,6 +23,7 @@ stdenv.mkDerivation { preBuild = '' find . -type f | grep -v -e '\.tgz''$' | xargs sed -i "s@/usr/bin/env bash@$(type -p bash)@" + sed -i "s|/tmp|$TMPDIR|" bin/regression makeFlagsArray=( MLTON_VERSION="${version} ${rev}"