find runner in /bin of output

This commit is contained in:
lassulus 2019-01-22 07:38:54 +01:00
parent c7c260c014
commit 942930d595

View File

@ -113,5 +113,6 @@ if [[ -z $run ]]; then
# show the first file
find "$out" -type f -print -quit
else
"$out/bin/run-nixos-vm"
runner=$(find "$out"/bin -type l -print -quit)
exec "$runner"
fi