about summary refs log tree commit diff stats
path: root/sys/nixpkgs/pkgs/yt
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-01-28 20:58:58 +0100
committerSoispha <soispha@vhack.eu>2024-01-28 20:58:58 +0100
commitba72754b61dfb447d0031e6608920059bb571553 (patch)
tree28b107a2b4bae7863600cd03a604739f7bb7c098 /sys/nixpkgs/pkgs/yt
parentbuild(treewide): Update (diff)
downloadnixos-config-ba72754b61dfb447d0031e6608920059bb571553.tar.gz
nixos-config-ba72754b61dfb447d0031e6608920059bb571553.zip
fix(sys/nixpkgs/update_pkgs): Allow to hide expansive updates behind flag
Diffstat (limited to '')
-rwxr-xr-xsys/nixpkgs/pkgs/yt/update.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/nixpkgs/pkgs/yt/update.sh b/sys/nixpkgs/pkgs/yt/update.sh
index 2529167c..2e59aa60 100755
--- a/sys/nixpkgs/pkgs/yt/update.sh
+++ b/sys/nixpkgs/pkgs/yt/update.sh
@@ -1,6 +1,7 @@
 #!/usr/bin/env sh
 
-cargo update && cargo upgrade
+cargo update
+[ "$1" = "upgrade" ] && cargo upgrade
 
 
 # vim: ft=sh