diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-11-16 22:34:39 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-11-16 22:38:15 +0200 |
commit | 66f769122f35f96d6a459e46f63eeadcd62f5ef4 (patch) | |
tree | 23dd9aba4910788d0c6ee419c61b6e258522135d /gnu | |
parent | 4ef38c806df297c3f9458bdb163f2954a6521422 (diff) | |
download | guix-66f769122f35f96d6a459e46f63eeadcd62f5ef4.tar.gz |
gnu: grub: Don't run tests when cross compiling.
* gnu/packages/bootloaders.scm (grub)[arguments]: Skip tests when cross-compiling.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/bootloaders.scm | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm index 3c30395ef4..1da8a7b210 100644 --- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm @@ -150,10 +150,11 @@ (("test_unset grub_func_test") "test_unset")) #t))) - ;; Disable tests on ARM and AARCH64 platforms. - #:tests? ,(not (any (cute string-prefix? <> (or (%current-target-system) - (%current-system))) - '("arm" "aarch64"))))) + ;; Disable tests on ARM and AARCH64 platforms or when cross-compiling. + #:tests? ,(not (or (any (cute string-prefix? <> (or (%current-target-system) + (%current-system))) + '("arm" "aarch64")) + (%current-target-system))))) (inputs `(("gettext" ,gettext-minimal) |