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 | |
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/comments/update.sh | 3 | ||||
-rwxr-xr-x | sys/nixpkgs/pkgs/generate_moz_extension/update.sh | 4 | ||||
-rwxr-xr-x | sys/nixpkgs/pkgs/lf-make-map/update.sh | 3 | ||||
-rwxr-xr-x | sys/nixpkgs/pkgs/yt/update.sh | 4 |
4 files changed, 10 insertions, 4 deletions
diff --git a/sys/nixpkgs/pkgs/comments/update.sh b/sys/nixpkgs/pkgs/comments/update.sh index 26a7aeac..e500bb23 100755 --- a/sys/nixpkgs/pkgs/comments/update.sh +++ b/sys/nixpkgs/pkgs/comments/update.sh @@ -1,7 +1,8 @@ #!/usr/bin/env sh -cargo update +nix flake update [ "$1" = "upgrade" ] && cargo upgrade +cargo update # vim: ft=sh 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 diff --git a/sys/nixpkgs/pkgs/lf-make-map/update.sh b/sys/nixpkgs/pkgs/lf-make-map/update.sh index b34dabfa..a0a029f4 100755 --- a/sys/nixpkgs/pkgs/lf-make-map/update.sh +++ b/sys/nixpkgs/pkgs/lf-make-map/update.sh @@ -1,5 +1,6 @@ #!/usr/bin/env sh nix flake update -cargo update + [ "$1" = "upgrade" ] && cargo upgrade +cargo update 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 |