3
0
Fork 0
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:
Janne Heß 2022-04-03 11:12:00 +01:00
parent f056f4b9bc
commit ea473fac72
No known key found for this signature in database
GPG key ID: 69165158F05265DF

View file

@ -169,4 +169,4 @@ exec {logOutFd}>&- {logErrFd}>&-
# Start systemd in a clean environment.
echo "starting systemd..."
exec env - @systemdExecutable@ "$@"
exec @systemdExecutable@ "$@"