0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-09 03:55:44 +03:00

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. # Start systemd in a clean environment.
echo "starting systemd..." echo "starting systemd..."
exec env - @systemdExecutable@ "$@" exec @systemdExecutable@ "$@"