gnu: libpaper: Disable tests for the Hurd.

* gnu/packages/ghostscript.scm (libpaper)[arguments]: When building for the
Hurd, set #:tests? to #false.
This commit is contained in:
Janneke Nieuwenhuizen 2023-06-11 11:48:26 +02:00
parent f1a68cbb72
commit 784610d6d6
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -9,7 +9,7 @@
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018, 2020, 2022 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2020, 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@ -89,9 +89,11 @@ (define-public libpaper
(native-inputs
(list help2man))
(arguments
'(#:configure-flags '("--disable-static"
;; Tests require a relocatable build.
"--enable-relocatable")))
(list #:configure-flags ''("--disable-static"
;; Tests require a relocatable build.
"--enable-relocatable")
;; --enable-relocate is broken on the Hurd
#:tests? (not (target-hurd?))))
(outputs '("out" "debug"))
(home-page "https://github.com/rrthomas/libpaper")
(synopsis "Library for handling paper sizes")