diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-05-09 15:42:35 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-05-09 20:33:35 +0200 |
commit | 477cbf36f7575f7727ece155d9c88e885b130ee1 (patch) | |
tree | 82d407d1b733f333271ff11b304017c14bcc0197 /sys/nixpkgs/pkgs/generate_moz_extension/update.sh | |
parent | style(treewide): Comply with `nix fmt` (diff) | |
download | nixos-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-x | sys/nixpkgs/pkgs/generate_moz_extension/update.sh | 4 |
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 |