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:
parent
a130228fe8
commit
fd9a07c7d4
@ -18,6 +18,8 @@ stdenv.mkDerivation {
|
|||||||
buildInputs = [mltonBootstrap gmp];
|
buildInputs = [mltonBootstrap gmp];
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
|
find . -type f | grep -v -e '\.tgz''$' | xargs sed -i "s@/usr/bin/env bash@$(type -p bash)@"
|
||||||
|
|
||||||
makeFlagsArray=(
|
makeFlagsArray=(
|
||||||
MLTON_VERSION="${version} ${rev}"
|
MLTON_VERSION="${version} ${rev}"
|
||||||
CC="$(type -p cc)"
|
CC="$(type -p cc)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user