diff options
author | Andreas Enge <andreas@enge.fr> | 2025-05-05 14:56:45 +0200 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-05-06 11:25:07 +0200 |
commit | db336991b517f9ddc0d896b0f087eb3b88636804 (patch) | |
tree | 6e745f3e919f8964865fc0150d2bc62c3aef7ddb | |
parent | 6295ea857ca4239450693b3a64f6918233e3c342 (diff) | |
download | guix-db336991b517f9ddc0d896b0f087eb3b88636804.tar.gz guix-db336991b517f9ddc0d896b0f087eb3b88636804.zip |
gnu: asymptote: Fix build.
* gnu/packages/plotutils.scm (asymptote)[arguments]<#:phases>{setenv}:
New phase.
Change-Id: Id2e0f33d82affa573c7f2c5fe7c3741f42479b8e
-rw-r--r-- | gnu/packages/plotutils.scm | 3 |
1 files changed, 3 insertions, 0 deletions
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. |