From 316dfb918c586fa1743b9389729177375e883d9a Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 29 Mar 2015 01:36:29 +0100 Subject: Move from cabal sandbox to nix environment --- default.html.do | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'default.html.do') diff --git a/default.html.do b/default.html.do index da9d0b2..e900e4a 100644 --- a/default.html.do +++ b/default.html.do @@ -1,12 +1,8 @@ redo-ifchange $2.md build/tex-filter.hs build/template.html5 -texfilter() { - runhaskell -package-conf=$(find .cabal-sandbox -maxdepth 1 -iname '*.conf.d' | head -n 1) build/tex-filter.hs $@ 2>/dev/null -} - CSS=/style.css -pandoc -t json $2.md | texfilter "$(pwd)" \ +pandoc -t json $2.md | build/tex-filter.hs "$(pwd)" \ | while read -r x; do [[ -z "${x}" ]] && continue echo $x/image.svg @@ -15,5 +11,5 @@ pandoc -t json $2.md | texfilter "$(pwd)" \ | xargs -d '\n' redo-ifchange pandoc -S -f markdown -t json $2.md \ - | texfilter "$(pwd)" \ + | build/tex-filter.hs "$(pwd)" \ | pandoc --template=build/template.html5 --base-header-level=3 --standalone --email-obfuscation=none -f json -t html5 -c $CSS >$3 2>/dev/null -- cgit v1.2.3