diff options
| author | Jan (janneke) Nieuwenhuizen <janneke@gnu.org> | 2021-11-21 13:25:22 +0100 |
|---|---|---|
| committer | Jan (janneke) Nieuwenhuizen <janneke@gnu.org> | 2021-11-21 20:35:40 +0100 |
| commit | f33a977706eb2f6dbbce8a515a4f4963a0f0579d (patch) | |
| tree | 5c745b458e445b95013d16ef36323ac28c14da4b /gnu | |
| parent | 0154fac42a6e3ec6080605af89958b779f536e9d (diff) | |
gnu: help2man: Resurrect cross-building.
This is a follow-up to commit
378df42fc5ed85260cd9d4c666b67f29baf11f48
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.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/man.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/man.scm b/gnu/packages/man.scm index ca4d3254d51..47c5ae12883 100644 --- a/gnu/packages/man.scm +++ b/gnu/packages/man.scm | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | ;;; Copyright © 2018, 2019 Marius Bakke <mbakke@fastmail.com> | 9 | ;;; Copyright © 2018, 2019 Marius Bakke <mbakke@fastmail.com> |
| 10 | ;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com> | 10 | ;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com> |
| 11 | ;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net> | 11 | ;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net> |
| 12 | ;;; Copyright © 2021 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> | ||
| 12 | ;;; | 13 | ;;; |
| 13 | ;;; This file is part of GNU Guix. | 14 | ;;; This file is part of GNU Guix. |
| 14 | ;;; | 15 | ;;; |
| @@ -336,7 +337,9 @@ Linux kernel and C library interfaces employed by user-space programs.") | |||
| 336 | #t))))) | 337 | #t))))) |
| 337 | (inputs | 338 | (inputs |
| 338 | `(("perl" ,perl) | 339 | `(("perl" ,perl) |
| 339 | ("perl-gettext" ,perl-gettext))) | 340 | ,@(if (%current-target-system) |
| 341 | '() | ||
| 342 | `(("perl-gettext" ,perl-gettext))))) | ||
| 340 | (native-inputs | 343 | (native-inputs |
| 341 | `(("perl" ,perl) | 344 | `(("perl" ,perl) |
| 342 | ("gettext" ,gettext-minimal))) | 345 | ("gettext" ,gettext-minimal))) |
