From 477cbf36f7575f7727ece155d9c88e885b130ee1 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Thu, 9 May 2024 15:42:35 +0200 Subject: fix(treewide): `Upgrade` the Cargo.toml file before `updating` the Cargo.lock --- sys/nixpkgs/pkgs/comments/update.sh | 3 ++- sys/nixpkgs/pkgs/generate_moz_extension/update.sh | 4 +++- sys/nixpkgs/pkgs/lf-make-map/update.sh | 3 ++- 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 -- cgit 1.4.1