me
/
guix
Archived
1
0
Fork 0

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.
master
Maxime Devos 2021-08-24 16:19:32 +02:00 committed by Mathieu Othacehe
parent 3a8d342cdf
commit c170e9b75f
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 12 additions and 3 deletions

View File

@ -44,10 +44,19 @@
(base32 (base32
"1q6x9c5x4x0x4q11iygldsmxdyzhz1mb4n8im76glwsgqsqyjs80")))) "1q6x9c5x4x0x4q11iygldsmxdyzhz1mb4n8im76glwsgqsqyjs80"))))
(build-system gnu-build-system) (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 (inputs
`(,@(if (%current-target-system)
'()
`(("gettext" ,gettext-minimal) `(("gettext" ,gettext-minimal)
("perl" ,perl) ("perl" ,perl)
("python" ,python-wrapper))) ("python" ,python-wrapper)))))
(synopsis "Various ISO standards") (synopsis "Various ISO standards")
(description (description
"This package provides lists of various ISO standards (e.g. country, "This package provides lists of various ISO standards (e.g. country,