diff options
| author | Rubikoid <rubikoid@rubikoid.ru> | 2024-04-06 11:52:47 +0300 |
|---|---|---|
| committer | Rubikoid <rubikoid@rubikoid.ru> | 2024-05-07 16:02:26 +0300 |
| commit | bb17a88bc09e67a2604501940438b2573c24820c (patch) | |
| tree | 0eb3bf3421cb72b6c909e04ef5ac8b516c9269db /pkgs | |
| parent | 230a197063de9287128e2c68a7a4b0cd7d0b50a7 (diff) | |
Add offline flag to darwin-rebuild.sh
Diffstat (limited to 'pkgs')
| -rw-r--r-- | pkgs/nix-tools/darwin-rebuild.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/nix-tools/darwin-rebuild.sh b/pkgs/nix-tools/darwin-rebuild.sh index 6422262..94bbdda 100644 --- a/pkgs/nix-tools/darwin-rebuild.sh +++ b/pkgs/nix-tools/darwin-rebuild.sh @@ -12,7 +12,7 @@ showSyntax() { echo " [--keep-going] [-k] [--keep-failed] [-K] [--fallback] [--show-trace]" >&2 echo " [-I path] [--option name value] [--arg name value] [--argstr name value]" >&2 echo " [--flake flake] [--update-input input flake] [--impure] [--recreate-lock-file]" >&2 - echo " [--no-update-lock-file] [--refresh] ..." >&2 + echo " [--no-update-lock-file] [--refresh] [--offline] ..." >&2 exit 1 } @@ -116,6 +116,9 @@ while [ $# -gt 0 ]; do fi shift 1 ;; + --offline) + extraBuildFlags+=("$i") + ;; *) echo "$0: unknown option '$i'" exit 1 |
