mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 17:14:00 +00:00
nixos-rebuild: Fix broken -I option
Commit 617a1a6e57
(#341402) broke this.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
parent
a3c0b3b215
commit
42a12a0551
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user