gnu: help2man: Resurrect cross-building.
This is a follow-up to commit
378df42fc5
gnu: help2man: Add optional dependencies.
It resurrects the cross-building of all build dependencies for guix, e.g., for
creating a childhurd with a Guix development environment.
* gnu/packages/man.scm (help2man)[inputs]: Do not use perl-gettext when
cross-building; perl-gettext cannot be cross-built.
This commit is contained in:
parent
0154fac42a
commit
f33a977706
1 changed files with 4 additions and 1 deletions
|
@ -9,6 +9,7 @@
|
||||||
;;; Copyright © 2018, 2019 Marius Bakke <mbakke@fastmail.com>
|
;;; Copyright © 2018, 2019 Marius Bakke <mbakke@fastmail.com>
|
||||||
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
|
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
|
||||||
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
|
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
|
||||||
|
;;; Copyright © 2021 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -336,7 +337,9 @@ Linux kernel and C library interfaces employed by user-space programs.")
|
||||||
#t)))))
|
#t)))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("perl" ,perl)
|
`(("perl" ,perl)
|
||||||
("perl-gettext" ,perl-gettext)))
|
,@(if (%current-target-system)
|
||||||
|
'()
|
||||||
|
`(("perl-gettext" ,perl-gettext)))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("perl" ,perl)
|
`(("perl" ,perl)
|
||||||
("gettext" ,gettext-minimal)))
|
("gettext" ,gettext-minimal)))
|
||||||
|
|
Reference in a new issue