flake: forward cmdline arguments in devshell wrappers

This commit is contained in:
Sebastien Bourdeauducq 2023-12-17 19:42:56 +08:00
parent 44a95b5dda
commit 6326051052

View File

@ -377,7 +377,7 @@
progname=`basename -s .py $program`
outname=$out/bin/$progname
echo "#!${pkgs.bash}/bin/bash" >> $outname
echo "exec python3 -m artiq.frontend.$progname" >> $outname
echo "exec python3 -m artiq.frontend.$progname \"\$@\"" >> $outname
chmod 755 $outname
fi
done