mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-09 12:05:50 +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:
parent
f056f4b9bc
commit
ea473fac72
1 changed files with 1 additions and 1 deletions
|
@ -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@ "$@"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue