mlton: disable parallel build

This commit is contained in:
FliegendeWurst 2022-02-02 12:19:55 +01:00
parent 6f930f18f0
commit ccc26c651f

View File

@ -21,6 +21,9 @@ stdenv.mkDerivation {
buildInputs = [mltonBootstrap gmp]; buildInputs = [mltonBootstrap gmp];
# build fails otherwise
enableParallelBuilding = false;
preBuild = '' preBuild = ''
find . -type f | grep -v -e '\.tgz''$' | xargs sed -i "s@/usr/bin/env bash@$(type -p bash)@" 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 sed -i "s|/tmp|$TMPDIR|" bin/regression