mlton: add one-liner from old derivation to fix source files

Updates from-git-source.nix to use the one-liner to fix up the bash
shebang lines.
This commit is contained in:
Sophia Donataccio 2018-10-12 00:36:07 -04:00
parent a130228fe8
commit fd9a07c7d4

View file

@ -18,6 +18,8 @@ stdenv.mkDerivation {
buildInputs = [mltonBootstrap gmp];
preBuild = ''
find . -type f | grep -v -e '\.tgz''$' | xargs sed -i "s@/usr/bin/env bash@$(type -p bash)@"
makeFlagsArray=(
MLTON_VERSION="${version} ${rev}"
CC="$(type -p cc)"