stdenv-setup and misc hooks: Work with bash-3.4 for MacOS nix-shell

This is a temporary measure until this impurity is removed from Nix.
This commit is contained in:
John Ericson
2017-07-26 09:08:01 -04:00
parent f6f40e3fe5
commit ea7d13cf1a
4 changed files with 29 additions and 17 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ do
if
PATH=$_PATH type -p "@binPrefix@$CMD" > /dev/null
then
export "${ENV_PREFIX}${CMD^^}=@binPrefix@${CMD}";
export "${ENV_PREFIX}$(echo "$CMD" | tr "[:lower:]" "[:upper:]")=@binPrefix@${CMD}";
fi
done