nixos-rebuild: Fix broken -I option (#348886)

This commit is contained in:
Will Fancher 2024-10-15 18:21:24 -04:00 committed by GitHub
commit 6dcfaeb324
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -103,11 +103,11 @@ while [ "$#" -gt 0 ]; do
--use-substitutes|--substitute-on-destination|-s)
copyFlags+=("-s")
;;
--builders)
-I|--builders)
j="$1"; shift 1
extraBuildFlags+=("$i" "$j")
;;
--I|--max-jobs|-j|--cores|--log-format)
--max-jobs|-j|--cores|--log-format)
j="$1"; shift 1
extraBuildFlags+=("$i" "$j")
copyFlags+=("$i" "$j")