From de8fd435fb75aa4428163976efdf7c6d3e405090 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Wed, 24 Jan 2024 09:26:02 +0100 Subject: [PATCH] Makefile: enforce the use packaged cargo 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 43a17db3..6edca102 100644 --- 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