forked from M-Labs/artiq
1
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

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