about summary refs log tree commit diff stats
path: root/sys/nixpkgs/pkgs/generate_moz_extension/update.sh
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-05-09 15:42:35 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-05-09 20:33:35 +0200
commit477cbf36f7575f7727ece155d9c88e885b130ee1 (patch)
tree82d407d1b733f333271ff11b304017c14bcc0197 /sys/nixpkgs/pkgs/generate_moz_extension/update.sh
parentstyle(treewide): Comply with `nix fmt` (diff)
downloadnixos-config-477cbf36f7575f7727ece155d9c88e885b130ee1.tar.gz
nixos-config-477cbf36f7575f7727ece155d9c88e885b130ee1.zip
fix(treewide): `Upgrade` the Cargo.toml file before `updating` the Cargo.lock
Diffstat (limited to '')
-rwxr-xr-xsys/nixpkgs/pkgs/generate_moz_extension/update.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/nixpkgs/pkgs/generate_moz_extension/update.sh b/sys/nixpkgs/pkgs/generate_moz_extension/update.sh
index c678b421..e500bb23 100755
--- a/sys/nixpkgs/pkgs/generate_moz_extension/update.sh
+++ b/sys/nixpkgs/pkgs/generate_moz_extension/update.sh
@@ -1,6 +1,8 @@
 #!/usr/bin/env sh
 
-cargo update
+nix flake update
+
 [ "$1" = "upgrade" ] && cargo upgrade
+cargo update
 
 # vim: ft=sh