commit a809c28ddef5baa03d9b5af502b62a015d969c8b
parent 292a4c4d4664ca25662b37d92806da37178fffd2
Author: Daniel Barlow <dan@telent.net>
Date: Thu, 18 May 2023 22:43:08 +0100
liminix-rebuild source /etc/profile to get PATH for reboot
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkgs/min-copy-closure/liminix-rebuild.sh b/pkgs/min-copy-closure/liminix-rebuild.sh
@@ -12,4 +12,4 @@ fi
toplevel=$(nix-build "$@" -A outputs.systemConfiguration --no-out-link)
min-copy-closure $target_host $toplevel
$ssh_command $target_host cp -v -fP $toplevel/bin/* /persist
-$ssh_command $target_host "sync; reboot"
+$ssh_command $target_host "sync; source /etc/profile; reboot"