forked from mirrors/nixpkgs
nixos/stage-2-init: Don't clear environment
This breaks NixOS Containers because systemd needs some env variables from the outside.
This commit is contained in:
parent
f056f4b9bc
commit
ea473fac72
|
@ -169,4 +169,4 @@ exec {logOutFd}>&- {logErrFd}>&-
|
|||
|
||||
# Start systemd in a clean environment.
|
||||
echo "starting systemd..."
|
||||
exec env - @systemdExecutable@ "$@"
|
||||
exec @systemdExecutable@ "$@"
|
||||
|
|
Loading…
Reference in a new issue