gnu: nuspell: Fix cross-compiling.

* gnu/packages/enchant.scm (nuspell): Fix cross-compiling.
[arguments]: When cross-compiling,Add -DBUILD_TESTING=OFF to configure-flags.

Change-Id: I5af75bed0d5eabfaf2ecb2efd2cf84d7bf39ae9b
This commit is contained in:
Zheng Junjie 2025-07-24 19:31:14 +08:00
parent e52438acb9
commit d5619de9d3
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -3,6 +3,7 @@
;;; Copyright © 2018 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2025 Zheng Junjie <z572@z572.online>
;;;
;;; This file is part of GNU Guix.
;;;
@ -57,6 +58,10 @@
(sha256
(base32 "05j1hmczy6v9dyxp77vxhgyl7y5hff3v45vlp86gyh7m9lgqpmra"))))
(build-system cmake-build-system)
(arguments
(if (%current-target-system)
(list #:configure-flags #~(list "-DBUILD_TESTING=OFF"))
'()))
(native-inputs (list catch2-3 pkg-config))
(propagated-inputs (list icu4c))
(native-search-paths (list (search-path-specification