2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 11:18:27 +08:00

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` progname=`basename -s .py $program`
outname=$out/bin/$progname outname=$out/bin/$progname
echo "#!${pkgs.bash}/bin/bash" >> $outname 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 chmod 755 $outname
fi fi
done done