Subject: [bug#32428] [PATCH] gnu: mit-scheme: Use minimal texlive-union.

From: [email-masked] (Ludovic Courtès)
Date: Mon, 20 Aug 2018 22:55:54 +0200

Hello Pierre!

Pierre Neidhardt <[email-masked]> skribis:

> * gnu/packages/scheme.scm (mit-scheme)[native-inputs]: Replace texlive with texlive-union.
> ---
>  gnu/packages/scheme.scm | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm
> index b30245cce..ef94aedad 100644
> --- a/gnu/packages/scheme.scm
> +++ b/gnu/packages/scheme.scm
> @@ -104,6 +104,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))

Is this a bug in ‘texlive-union’?  Does it take time and space to
regenerate the fonts?

Otherwise the change LGTM, for ‘emacs-ess’ & co. as well, as long as we
don’t duplicate the $HOME trick dozens of times.

Thanks!

Ludo’.