]> git.proxmox.com Git - proxmox.git/commitdiff
Makefile: enforce the use packaged cargo
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 24 Jan 2024 08:26:02 +0000 (09:26 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 24 Jan 2024 08:26:03 +0000 (09:26 +0100)
Nightly currently produces a different output format so this command
doesn't work right now when +system is not the default cargo.
Let's hope this is just a temporary hiccup in nightly, given that
there is an explicit `--format-version=1` parameter...

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Makefile

index 43a17db3bee132d933032d84e8b236aea256cfc4..6edca1021abf3367aa592319f7e3ef1c181d1082 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 # Shortcut for common operations:
 
-CRATES != cargo metadata --no-deps --format-version=1 | jq -r .workspace_members'[]' | awk '{ print $$1 }'
+CRATES != /usr/bin/cargo metadata --no-deps --format-version=1 | jq -r .workspace_members'[]' | awk '{ print $$1 }'
 
 # By default we just run checks:
 .PHONY: all