forked from M-Labs/artiq
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