diff options
author | Sophia Donataccio <srdqty@gmail.com> | 2018-10-12 00:36:07 -0400 |
---|---|---|
committer | Sophia Donataccio <srdqty@gmail.com> | 2018-10-12 00:36:07 -0400 |
commit | fd9a07c7d4dc1679805e2699bdea8ade3c0ed1d9 (patch) | |
tree | a49f3409afa38ee341ab402e06a1d85e8f497feb /pkgs/development/compilers | |
parent | a130228fe87c06a75f2f19343caea6905f611388 (diff) | |
download | nixlib-fd9a07c7d4dc1679805e2699bdea8ade3c0ed1d9.tar nixlib-fd9a07c7d4dc1679805e2699bdea8ade3c0ed1d9.tar.gz nixlib-fd9a07c7d4dc1679805e2699bdea8ade3c0ed1d9.tar.bz2 nixlib-fd9a07c7d4dc1679805e2699bdea8ade3c0ed1d9.tar.lz nixlib-fd9a07c7d4dc1679805e2699bdea8ade3c0ed1d9.tar.xz nixlib-fd9a07c7d4dc1679805e2699bdea8ade3c0ed1d9.tar.zst nixlib-fd9a07c7d4dc1679805e2699bdea8ade3c0ed1d9.zip |
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.
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r-- | pkgs/development/compilers/mlton/from-git-source.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/compilers/mlton/from-git-source.nix b/pkgs/development/compilers/mlton/from-git-source.nix index 6678335b4b9c..3a3538a7ea42 100644 --- a/pkgs/development/compilers/mlton/from-git-source.nix +++ b/pkgs/development/compilers/mlton/from-git-source.nix @@ -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)" |