nixos-enter: set PATH

otherwise util-linux may be missing.
This commit is contained in:
Jörg Thalheim 2024-09-16 16:32:51 +02:00
parent 44b9691b37
commit 4cf4459eb6

View File

@ -3,6 +3,8 @@
set -e
export PATH=@path@:$PATH
# Re-exec ourselves in a private mount namespace so that our bind
# mounts get cleaned up automatically.
if [ -z "$NIXOS_ENTER_REEXEC" ]; then