mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-24 10:54:02 +08:00
flake: forward cmdline arguments in devshell wrappers
This commit is contained in:
parent
44a95b5dda
commit
6326051052
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user