aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Neidhardt <ambrevar@gmail.com>2018-08-13 18:04:42 +0200
committerPierre Neidhardt <ambrevar@gmail.com>2018-08-21 16:30:22 +0200
commit9b02a79bb079f2746ef5e6eb2ff47d7d44e335a9 (patch)
treecd3e0498254e89f6159c1aa3f3381e66c3c1dd10
parentdece8c91a954d17249eb9cfb48ae75fe131fe831 (diff)
downloadpatches-9b02a79bb079f2746ef5e6eb2ff47d7d44e335a9.tar
patches-9b02a79bb079f2746ef5e6eb2ff47d7d44e335a9.tar.gz
gnu: mit-scheme: Use minimal texlive-union.
* gnu/packages/scheme.scm (mit-scheme)[native-inputs]: Replace texlive with texlive-union.
-rw-r--r--gnu/packages/scheme.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm
index 1e045a27fd..926169ce18 100644
--- a/gnu/packages/scheme.scm
+++ b/gnu/packages/scheme.scm
@@ -105,6 +105,10 @@
(find-files "src/compiler" "^make\\.")))
(chdir "src")
#t))
+ ;; FIXME: the texlive-union insists on regenerating fonts. It stores
+ ;; them in HOME, so it needs to be writeable.
+ (add-before 'build 'set-HOME
+ (lambda _ (setenv "HOME" "/tmp") #t))
(replace 'build
(lambda* (#:key system outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
@@ -151,7 +155,7 @@
(delete-file-recursively old-doc-dir)
#t))))))
(native-inputs
- `(("texlive" ,texlive)
+ `(("texlive" ,(texlive-union (list texlive-tex-texinfo)))
("texinfo" ,texinfo)
("m4" ,m4)))
(inputs