Commit 4cf4459e authored by Jörg Thalheim's avatar Jörg Thalheim
Browse files

nixos-enter: set PATH

otherwise util-linux may be missing.
parent 44b9691b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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