diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2025-01-10 22:47:17 +0100 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2025-01-10 22:52:28 +0100 |
commit | ce9cd9528ab1733fded3cdf874d1137ed5106f36 (patch) | |
tree | 167f794244fa2f7eb936a43c116d107253d8b46c | |
parent | 3b615d061f5d0470096f362d86814a8046e7865b (diff) |
elenq: pandoc-templates: use logos from elenq-logos
-rw-r--r-- | elenq/documentation.scm | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/elenq/documentation.scm b/elenq/documentation.scm index fd459f3..993f21c 100644 --- a/elenq/documentation.scm +++ b/elenq/documentation.scm @@ -9,7 +9,7 @@ (define-public pandoc-templates (let ((revision "1") - (commit "39ad0e6cf9ed895b88041f8babe59506178a6fcb")) + (commit "8bc6f1eab3288c3a6ae15a050c8d9fd84aacbf47")) (package (name "pandoc-templates") (version (git-version "0.0.0" revision commit)) @@ -20,9 +20,23 @@ (url "git://git.elenq.tech/pandoc-templates") (commit commit))) (sha256 - (base32 "1z2p1dxlgivdgw79f74n2ax84xr8g0q62fsxpwag4dfdmik7131b")))) + (base32 "0yyyyjq5022qisbf5yxxd65hjg79y6bkz32qv8xas40riv9sghzd")))) (build-system copy-build-system) - (arguments (list #:install-plan ''(("pandoc" "/share/pandoc")))) + (inputs (list elenq-logos)) + (arguments + (list + #:install-plan ''(("pandoc" "/share/pandoc")) + #:phases + #~(modify-phases %standard-phases + (add-before 'install 'set-url + (lambda _ + (for-each + (lambda (f) + (substitute* f + (("\\$elenq-directory\\$") + (string-append #$elenq-logos "/share/elenq/")))) + (list "pandoc/templates/elenq-article.latex" + "pandoc/templates/elenq-book.latex"))))))) (native-search-paths (list (search-path-specification (variable "XDG_DATA_DIRS") ;; Not supported by pandoc _yet_ |