Add --builders flag to PASSTHROUGH_OPTS

This commit is contained in:
Tobias Happ 2020-05-02 18:18:25 +02:00 committed by Alexander Sosedkin
parent 4122727e1b
commit c7993111eb

View file

@ -49,6 +49,7 @@ function doHelp() {
echo "Options passed on to nix build"
echo
echo " -I|--include PATH"
echo " --builders BUILDERS"
echo " --cores NUM"
echo " --keep-failed"
echo " --keep-going"
@ -135,7 +136,7 @@ while [[ $# -gt 0 ]]; do
PASSTHROUGH_OPTS+=("$opt" "$1" "$2")
shift 2
;;
--max-jobs|--cores)
--builders|--cores|--max-jobs)
PASSTHROUGH_OPTS+=("$opt" "$1")
shift
;;