about summary refs log tree commit diff stats
path: root/sys/nixpkgs/pkgs/yt/update.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsys/nixpkgs/pkgs/yt/update.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/nixpkgs/pkgs/yt/update.sh b/sys/nixpkgs/pkgs/yt/update.sh
index c678b421..e500bb23 100755
--- a/sys/nixpkgs/pkgs/yt/update.sh
+++ b/sys/nixpkgs/pkgs/yt/update.sh
@@ -1,6 +1,8 @@
 #!/usr/bin/env sh
 
-cargo update
+nix flake update
+
 [ "$1" = "upgrade" ] && cargo upgrade
+cargo update
 
 # vim: ft=sh