Commit 42a12a05 authored by Anders Kaseorg's avatar Anders Kaseorg
Browse files

nixos-rebuild: Fix broken -I option



Commit 617a1a6e (#341402) broke this.

Signed-off-by: default avatarAnders Kaseorg <andersk@mit.edu>
parent a3c0b3b2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -102,11 +102,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")