4 , url ? "https://github.com/mlton/mlton"
17 inherit url rev sha256;
20 nativeBuildInputs = [ which ];
22 buildInputs = [mltonBootstrap gmp];
24 # build fails otherwise
25 enableParallelBuilding = false;
28 find . -type f | grep -v -e '\.tgz''$' | xargs sed -i "s@/usr/bin/env bash@$(type -p bash)@"
29 sed -i "s|/tmp|$TMPDIR|" bin/regression
32 MLTON_VERSION="${version} ${rev}"
35 WITH_GMP_INC_DIR="${gmp.dev}/include"
36 WITH_GMP_LIB_DIR="${gmp}/lib"
42 meta = import ./meta.nix;