~ruther/guix-local

6eb5823e2e1932c3f6793764b9f1fb7988d04667 — Yelninei 1 year, 2 months ago 2bb04f3
gnu: re2c: Skip tests on the Hurd.

*  gnu/packages/re2c.scm (re2c): Skip tests on hurd systems.

Change-Id: If111a763cfb79491b4a27009b2ca383f01fe3e5b
Signed-off-by: Andreas Enge <andreas@enge.fr>
1 files changed, 7 insertions(+), 4 deletions(-)

M gnu/packages/re2c.scm
M gnu/packages/re2c.scm => gnu/packages/re2c.scm +7 -4
@@ 43,15 43,18 @@
                "07ysqgdm0h566a8lwnpdgycp93vz7zskzihsgah3bla0ycj2pp69"))))
    (build-system gnu-build-system)
    (arguments
     (if (target-arm32?)
         (list #:phases
     (list #:tests? (not (or (%current-target-system)
                             ;; run_tests.py hangs
                             (system-hurd?)))
           #:phases
           (if (target-arm32?)
               #~(modify-phases %standard-phases
                   (add-after 'unpack 'patch-sources
                     (lambda _
                       (invoke "patch" "-p1" "--force" "--input"
                               #$(local-file (search-patch
                                               "re2c-Use-maximum-alignment.patch")))))))
         '()))
                                              "re2c-Use-maximum-alignment.patch"))))))
               #~%standard-phases)))
    (native-inputs
     (list python))             ; for the test driver
    (home-page "https://re2c.org/")