aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMaxime Devos <maximedevos@telenet.be>2021-08-24 16:19:32 +0200
committerMathieu Othacehe <othacehe@gnu.org>2021-09-20 11:15:06 +0000
commitc170e9b75fbda901aaf46d3b8e09975cb9b422bb (patch)
treee63dbf688e15ba9d32302eded9f57a07cd737756 /gnu
parent3a8d342cdf5a929be1e6d36204d8f91e5684ce87 (diff)
downloadguix-c170e9b75fbda901aaf46d3b8e09975cb9b422bb.tar
guix-c170e9b75fbda901aaf46d3b8e09975cb9b422bb.tar.gz
gnu: iso-codes: Move inputs to native-inputs when cross-compiling.
* gnu/packages/iso-codes.scm (iso-codes)[inputs]: Move "gettext", "perl" and "python" to ... (iso-codes)[native-inputs]: ... here when cross-compiling.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/iso-codes.scm15
1 files changed, 12 insertions, 3 deletions
diff --git a/gnu/packages/iso-codes.scm b/gnu/packages/iso-codes.scm
index 637390d734..b2cfd3434c 100644
--- a/gnu/packages/iso-codes.scm
+++ b/gnu/packages/iso-codes.scm
@@ -44,10 +44,19 @@
(base32
"1q6x9c5x4x0x4q11iygldsmxdyzhz1mb4n8im76glwsgqsqyjs80"))))
(build-system gnu-build-system)
+ ;; TODO(staging): Unconditionally move inputs to native-inputs.
+ (native-inputs
+ (if (%current-target-system)
+ `(("python" ,python-wrapper)
+ ("perl" ,perl)
+ ("gettext" ,gettext-minimal))
+ '()))
(inputs
- `(("gettext" ,gettext-minimal)
- ("perl" ,perl)
- ("python" ,python-wrapper)))
+ `(,@(if (%current-target-system)
+ '()
+ `(("gettext" ,gettext-minimal)
+ ("perl" ,perl)
+ ("python" ,python-wrapper)))))
(synopsis "Various ISO standards")
(description
"This package provides lists of various ISO standards (e.g. country,