mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: info-reader: Fix cross-compilation.
* gnu/packages/texinfo.scm (info-reader)[arguments]: Add keep-only-info-reader phase to inherited texinfo package phases, so that fix-cross-configure phase is preserved.
This commit is contained in:
parent
6e10ac0780
commit
614a1e3fa2
1 changed files with 25 additions and 24 deletions
|
@ -3,6 +3,7 @@
|
||||||
;;; Copyright © 2014, 2016 Eric Bavier <bavier@member.fsf.org>
|
;;; Copyright © 2014, 2016 Eric Bavier <bavier@member.fsf.org>
|
||||||
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
|
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
|
||||||
;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
|
||||||
|
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -108,13 +109,9 @@ (define-public info-reader
|
||||||
(inherit texinfo)
|
(inherit texinfo)
|
||||||
(name "info-reader")
|
(name "info-reader")
|
||||||
(arguments
|
(arguments
|
||||||
`(#:disallowed-references ,(assoc-ref (package-inputs texinfo)
|
`(,@(substitute-keyword-arguments (package-arguments texinfo)
|
||||||
"perl")
|
((#:phases phases)
|
||||||
|
`(modify-phases ,phases
|
||||||
#:modules ((ice-9 ftw) (srfi srfi-1)
|
|
||||||
,@%gnu-build-system-modules)
|
|
||||||
|
|
||||||
#:phases (modify-phases %standard-phases
|
|
||||||
(add-after 'install 'keep-only-info-reader
|
(add-after 'install 'keep-only-info-reader
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
;; Remove everything but 'bin/info' and associated
|
;; Remove everything but 'bin/info' and associated
|
||||||
|
@ -134,6 +131,10 @@ (define (files)
|
||||||
(fold delete (files)
|
(fold delete (files)
|
||||||
'("info" "locale"))))
|
'("info" "locale"))))
|
||||||
#t))))))
|
#t))))))
|
||||||
|
#:disallowed-references ,(assoc-ref (package-inputs texinfo)
|
||||||
|
"perl")
|
||||||
|
#:modules ((ice-9 ftw) (srfi srfi-1)
|
||||||
|
,@%gnu-build-system-modules)))
|
||||||
(synopsis "Standalone Info documentation reader")))
|
(synopsis "Standalone Info documentation reader")))
|
||||||
|
|
||||||
(define-public texi2html
|
(define-public texi2html
|
||||||
|
|
Loading…
Reference in a new issue