aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2026-09-24 09:59:08 -0700
committerMark Nipper <nipsy@bitgnome.net>2026-09-24 09:59:08 -0700
commit9eadf7a0b04854721c698b208fc54100e7e49fb1 (patch)
tree1f3e5818b7d34bd4214ae59d49f8b901ea0c6a2a /scripts
parentf1b1597ee93b45223f03a65e3506178d9f7dc12e (diff)
downloadnix-9eadf7a0b04854721c698b208fc54100e7e49fb1.tar
nix-9eadf7a0b04854721c698b208fc54100e7e49fb1.tar.gz
nix-9eadf7a0b04854721c698b208fc54100e7e49fb1.tar.bz2
nix-9eadf7a0b04854721c698b208fc54100e7e49fb1.tar.lz
nix-9eadf7a0b04854721c698b208fc54100e7e49fb1.tar.xz
nix-9eadf7a0b04854721c698b208fc54100e7e49fb1.tar.zst
nix-9eadf7a0b04854721c698b208fc54100e7e49fb1.zip
Fix array logic
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/pretty-rebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pretty-rebuild b/scripts/pretty-rebuild
index cb43a6d..86c1370 100755
--- a/scripts/pretty-rebuild
+++ b/scripts/pretty-rebuild
@@ -27,7 +27,7 @@ else
fi
cd /etc/nixos && \
- if (( ${+opts[-u]} )); then nix flake update; else args=("--no-reexec" ${=@}) fi && \
+ if (( ${+opts[-u]} )); then nix flake update; else args+=("--no-reexec") fi && \
nixos-rebuild switch --show-trace ${=args} && \
echo && \
nixos-rebuild list-generations | cat && \