myEnvFun: fix sed script edit

This commit is contained in:
John Wiegley 2018-01-13 14:59:49 -08:00
parent 147f3d4d81
commit e58adb9238

View File

@ -79,7 +79,7 @@ mkDerivation {
mkdir -p "$out/dev-envs" "$out/nix-support" "$out/bin"
s="$out/nix-support/setup-new-modified"
# shut some warning up.., do not use set -e
sed -e 's@set -e@@' \
sed -e 's@set -eu@@' \
-e 's@assertEnvExists\s\+NIX_STORE@:@' \
-e 's@trap.*@@' \
-e '1i initialPath="${toString initialPath}"' \