andreas pushed a commit to branch master in repository guix. commit db336991b517f9ddc0d896b0f087eb3b88636804 Author: Andreas Enge <andr...@enge.fr> AuthorDate: Mon May 5 14:56:45 2025 +0200
gnu: asymptote: Fix build. * gnu/packages/plotutils.scm (asymptote)[arguments]<#:phases>{setenv}: New phase. Change-Id: Id2e0f33d82affa573c7f2c5fe7c3741f42479b8e --- gnu/packages/plotutils.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/packages/plotutils.scm b/gnu/packages/plotutils.scm index 44749402e6..feec60ca42 100644 --- a/gnu/packages/plotutils.scm +++ b/gnu/packages/plotutils.scm @@ -171,6 +171,9 @@ (substitute* "settings.cc" (("defaultPDFViewer=\"acroread\"") "defaultPDFViewer=\"gv\"")))) + (add-before 'build 'setenv + (lambda _ + (setenv "TEXMFVAR" "/tmp"))) ;for font shapes generation (add-before 'check 'set-HOME ;; Some tests require write access to $HOME, otherwise leading to ;; "failed to create directory /homeless-shelter/.asy" error.