diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2019-01-29 14:05:47 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2019-01-29 14:07:03 +0100 |
commit | 1d4c2dabefdc5e957ed74a58066f8faa8e0fb70e (patch) | |
tree | ac3a2157e04e3a4052f73eec9c0d6b5999303ad4 /gnu | |
parent | 2790b6670b60a5f541df4d01afac6bf9335a5252 (diff) | |
download | guix-1d4c2dabefdc5e957ed74a58066f8faa8e0fb70e.tar.gz |
gnu: texlive-latex-seminar: Copy files to output.
* gnu/packages/tex.scm (texlive-latex-seminar)[build-system]: Use trivial-build-system. [arguments]: Copy files to output.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/tex.scm | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 32b3e982d9..5a577a5e9b 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -2766,8 +2766,17 @@ re-processing.") (sha256 (base32 "0y4i651b75y6006n03x8n86bsqvjsailvvz9bhzy51dzsznqidq0")))) - (build-system texlive-build-system) - (arguments '(#:tex-directory "latex/seminar")) + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + (let ((target (string-append (assoc-ref %outputs "out") + "/share/texmf-dist/tex/latex/seminar"))) + (mkdir-p target) + (copy-recursively (assoc-ref %build-inputs "source") target) + #t)))) (home-page "https://www.ctan.org/pkg/seminar") (synopsis "Make overhead slides") ;; TODO: This package may need fancybox and xcomment at runtime. |