diff --git a/var/spack/repos/builtin/packages/texlive/package.py b/var/spack/repos/builtin/packages/texlive/package.py index a5503fe1ec..a6064dcdfd 100644 --- a/var/spack/repos/builtin/packages/texlive/package.py +++ b/var/spack/repos/builtin/packages/texlive/package.py @@ -172,6 +172,9 @@ def setup_texlive(self): else: pass + def setup_build_environment(self, env): + env.prepend_path('PATH', join_path(self.prefix.bin, self.tex_arch())) + def setup_run_environment(self, env): env.prepend_path('PATH', join_path(self.prefix.bin, self.tex_arch()))