Files
Nomarchy/bin/utils/nomarchy-test-vm

16 lines
425 B
Bash
Executable File

#!/usr/bin/env bash
# Build and run the Nomarchy VM (installed environment) for testing.
echo "Building Nomarchy VM (Installed Environment)..."
echo "Note: To test the INSTALLER, run 'nomarchy-test-installer' instead."
nix build .#nixosConfigurations.vm.config.system.build.vm
if [ $? -eq 0 ]; then
echo "Success! Launching VM..."
./result/bin/run-nomarchy-vm
else
echo "Error: VM build failed."
exit 1
fi