diff options
Diffstat (limited to 'elenq/documentation.scm')
-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_ |