mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-28 07:12:30 -05:00
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>
This commit is contained in:
parent
8afa5ace49
commit
fbc46b61da
1 changed files with 2 additions and 1 deletions
|
@ -106,7 +106,8 @@ (define-public extra-cmake-modules
|
|||
'()
|
||||
`(("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
|
||||
|
|
Loading…
Reference in a new issue