me
/
guix
Archived
1
0
Fork 0

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 <maxim.cournoyer@gmail.com>
master
Maxime Devos 2022-03-04 13:01:18 +00:00 committed by Maxim Cournoyer
parent 8afa5ace49
commit fbc46b61da
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 2 additions and 1 deletions

View File

@ -106,7 +106,8 @@
'() '()
`(("qtbase" ,qtbase-5)))) ;for tests (needs qmake) `(("qtbase" ,qtbase-5)))) ;for tests (needs qmake)
(arguments (arguments
`(#:tests? ,(not (null? (package-native-inputs this-package))) `(#:tests? ,(and (not (%current-target-system))
(not (null? (package-native-inputs this-package))))
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'fix-lib-path (add-after 'unpack 'fix-lib-path