From f60653a0efc5fa27229bf51fa66baa60c80260a5 Mon Sep 17 00:00:00 2001 From: Maxime Devos Date: Sun, 28 Aug 2022 16:47:47 +0200 Subject: [PATCH] gnu: rust: Don't ask to run tests when cross-compiling. * gnu/packages/rust.scm (rust-1.57)[arguments]{#:tests?}: When cross-compiling, set to #false. Signed-off-by: Mathieu Othacehe --- gnu/packages/rust.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 67dc5cdaf3..5801a00f2b 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -654,7 +654,7 @@ (define rust-1.57 (arguments (substitute-keyword-arguments (package-arguments base-rust) ((#:tests? _ #f) - #t) + (not (%current-target-system))) ((#:phases phases) `(modify-phases ,phases (add-after 'unpack 'relax-gdb-auto-load-safe-path