From c11afc46777bfdf3dc222062cfe3518c0d8a657a Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 20 Jul 2023 17:44:26 +0300 Subject: gnu: libpaper: Skip tests when cross-compiling. * gnu/packages/ghostscript.scm (libpaper)[arguments]: Adjust #:tests to skip tests when cross-compiling. --- gnu/packages/ghostscript.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/ghostscript.scm b/gnu/packages/ghostscript.scm index 2d7f07fb40..502b41bb99 100644 --- a/gnu/packages/ghostscript.scm +++ b/gnu/packages/ghostscript.scm @@ -93,7 +93,8 @@ Consortium standard (ICC), approved as ISO 15076-1.") ;; Tests require a relocatable build. "--enable-relocatable") ;; --enable-relocate is broken on the Hurd - #:tests? (not (target-hurd?)))) + #:tests? (not (or (target-hurd?) + (%current-target-system))))) (outputs '("out" "debug")) (home-page "https://github.com/rrthomas/libpaper") (synopsis "Library for handling paper sizes") -- cgit 1.4.1