From fbc46b61daca05f8f8082fc90a62a5708415d651 Mon Sep 17 00:00:00 2001 From: Maxime Devos Date: Fri, 4 Mar 2022 13:01:18 +0000 Subject: gnu: extra-cmake-modules: Don't run tests when cross-compiling. * gnu/packages/kde-frameworks.scm (extra-cmake-modules)[arguments]<#:tests?>: Set to #false when cross-compiling. Signed-off-by: Maxim Cournoyer --- gnu/packages/kde-frameworks.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 65937f8970..aa88d140f5 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -106,7 +106,8 @@ '() `(("qtbase" ,qtbase-5)))) ;for tests (needs qmake) (arguments - `(#:tests? ,(not (null? (package-native-inputs this-package))) + `(#:tests? ,(and (not (%current-target-system)) + (not (null? (package-native-inputs this-package)))) #:phases (modify-phases %standard-phases (add-after 'unpack 'fix-lib-path -- cgit 1.4.1