mothacehe pushed a commit to branch master
in repository guix.

commit 0168c65de4ec9f25d5de76998474bedfd2baa7a0
Author: Maxime Devos <[email protected]>
AuthorDate: Sun Aug 28 16:47:39 2022 +0200

    gnu: proot: Don't ask to run tests when cross-compiling.
    
    * gnu/packages/linux.scm
    (proot)[arguments]{#:tests?}: When cross-compiling, set to #false.
    
    Signed-off-by: Mathieu Othacehe <[email protected]>
---
 gnu/packages/linux.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index d8f1f6912e..b5a2737730 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -7687,9 +7687,9 @@ Text-based output formats: CSV, XML, Netfilter's LOG, 
Netfilter's conntrack
      ;; Disable the test suite on armhf-linux, as there are too many
      ;; failures to keep track of (see for example:
      ;; https://github.com/proot-me/proot/issues/286).
-     `(#:tests? ,(not (string-prefix? "armhf"
-                                      (or (%current-target-system)
-                                          (%current-system))))
+     `(#:tests? ,(not (or (%current-target-system)
+                          (string-prefix? "armhf"
+                                          (or (%current-system)))))
        #:make-flags '("-C" "src")
        #:phases (modify-phases %standard-phases
                   (add-after 'unpack 'patch-sources

Reply via email to