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
parent
3a8d342cdf
commit
c170e9b75f
|
@ -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,
|
||||
|
|
Reference in New Issue