set -eux; \
mount --rbind --mkdir / $(targetRoot); \
mount --make-rslave $(targetRoot); \
- NIXOS_INSTALL_BOOTLOADER=1 $(shell realpath -e ../$(hostName).root)/bin/switch-to-configuration boot; \
+ NIXOS_INSTALL_BOOTLOADER=1 '$$(realpath -e ../$(hostName).root)'/bin/switch-to-configuration boot; \
umount -R $(targetRoot) && rmdir $(targetRoot) \
"'