gnu: gtk-doc: Fix dblatex problem.

* gnu/packages/gtk.scm (gtk-doc)[arguments]: Add phase "set-HOME".
This commit is contained in:
Ricardo Wurmus 2017-07-09 16:40:59 +02:00
parent b81dd94a79
commit a20608a57a
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 8 additions and 3 deletions

View File

@ -8,7 +8,7 @@
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
;;; Copyright © 2015 Andy Wingo <wingo@igalia.com>
;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
;;; Coypright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net>
;;; Coypright © 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Fabian Harfert <fhmgufs@web.de>
;;; Copyright © 2016 Kei Kebreau <kei@openmailbox.org>
@ -1285,8 +1285,13 @@ information.")
`(#:parallel-tests? #f
#:phases
(modify-phases %standard-phases
(add-before
'configure 'fix-docbook
(add-before 'build 'set-HOME
(lambda _
;; FIXME: dblatex with texlive-union does not find the built
;; metafonts, so it tries to generate them in HOME.
(setenv "HOME" "/tmp")
#t))
(add-before 'configure 'fix-docbook
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "configure"
;; The configure check is overzealous about making sure that