about summary refs log tree commit diff stats
path: root/update.sh
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-04-22 10:54:14 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-04-22 10:54:14 +0200
commit3db45a4b86f7157c21dfa00b22e99b50db504935 (patch)
treeb7bf7d640b227d1f701c16d70055c9be57a30497 /update.sh
parentflake.lock: Update (diff)
downloadnixos-server-3db45a4b86f7157c21dfa00b22e99b50db504935.zip
update.sh: Also run `nix flake update`
Diffstat (limited to '')
-rwxr-xr-xupdate.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/update.sh b/update.sh
index c43b80b..e22f4ea 100755
--- a/update.sh
+++ b/update.sh
@@ -3,12 +3,13 @@ __update_sh_run() {
     __update_sh_command="$1"
     shift 1
 
-    printf "\033[35;1m> \033[0m\033[35;1m%s\033[0m\n" "Running '$(basename "$__update_sh_command")' .."
+    printf "\033[35;1m> \033[0m\033[35;1m%s\033[0m\n" "Running '$(basename "$__update_sh_command") $*' .."
 
     "$__update_sh_command" "$@"
 
     unset __update_sh_command
 }
 
+__update_sh_run nix flake update
 __update_sh_run ./pkgs/update_pkgs.sh "$@"
 # vim: ft=sh