mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
myEnvFun: fix sed script edit
This commit is contained in:
parent
147f3d4d81
commit
e58adb9238
@ -79,7 +79,7 @@ mkDerivation {
|
|||||||
mkdir -p "$out/dev-envs" "$out/nix-support" "$out/bin"
|
mkdir -p "$out/dev-envs" "$out/nix-support" "$out/bin"
|
||||||
s="$out/nix-support/setup-new-modified"
|
s="$out/nix-support/setup-new-modified"
|
||||||
# shut some warning up.., do not use set -e
|
# 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@assertEnvExists\s\+NIX_STORE@:@' \
|
||||||
-e 's@trap.*@@' \
|
-e 's@trap.*@@' \
|
||||||
-e '1i initialPath="${toString initialPath}"' \
|
-e '1i initialPath="${toString initialPath}"' \
|
||||||
|
Loading…
Reference in New Issue
Block a user