Skip to content

Commit

Permalink
Move --offline to group of same behaviour flags
Browse files Browse the repository at this point in the history
  • Loading branch information
Rubikoid committed May 18, 2024
1 parent 2a2a311 commit 24f7a3f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pkgs/nix-tools/darwin-rebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ while [ $# -gt 0 ]; do
edit|switch|activate|build|check|changelog)
action=$i
;;
--show-trace|--keep-going|--keep-failed|--verbose|-v|-vv|-vvv|-vvvv|-vvvvv|--fallback)
--show-trace|--keep-going|--keep-failed|--verbose|-v|-vv|-vvv|-vvvv|-vvvvv|--fallback|--offline)
extraMetadataFlags+=("$i")
extraBuildFlags+=("$i")
;;
Expand Down Expand Up @@ -117,10 +117,6 @@ while [ $# -gt 0 ]; do
fi
shift 1
;;
--offline)
extraMetadataFlags+=("$i")
extraBuildFlags+=("$i")
;;
--substituters)
if [ -z "$1" ]; then
echo "$0: '$i' requires an argument"
Expand Down

0 comments on commit 24f7a3f

Please sign in to comment.