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
parent
8afa5ace49
commit
fbc46b61da
|
@ -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
|
||||||
|
|
Reference in New Issue