mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 11:05:14 +00:00
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];
|
||||
|
||||
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)"
|
||||
|
Loading…
Reference in New Issue
Block a user