File tree 1 file changed +16
-0
lines changed
1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,22 @@ let hp = nixpkgs.haskell.packages.${ghc};
42
42
ccomp-platform = "x86_64-linux" ;
43
43
} ;
44
44
45
+ pdf = nixpkgs . runCommand "Simplicity-TR" { } ''
46
+ export TEXMACS_HOME_PATH=$NIX_BUILD_TOP
47
+ mkdir -p $out/share/
48
+
49
+ cp ${ ./Simplicity-TR.tm } Simplicity-TR.tm
50
+ cp ${ ./Simplicity.bib } Simplicity.bib
51
+
52
+ mkdir -p $TEXMACS_HOME_PATH/progs
53
+ cat <<EOF > $TEXMACS_HOME_PATH/progs/my-init-buffer.scm
54
+ ; inspired by http://savannah.gnu.org/bugs/?32944
55
+ (generate-all-aux) (print-to-file "Simplicity-TR.pdf") (style-clear-cache)
56
+ EOF
57
+
58
+ ${ nixpkgs . xvfb-run } /bin/xvfb-run ${ nixpkgs . texmacs } /bin/texmacs -c Simplicity-TR.tm $out/share/Simplicity-TR.pdf -q
59
+ '' ;
60
+
45
61
vst = nixpkgs . callPackage ./vst.nix {
46
62
inherit ( cp ) coq ;
47
63
inherit compcert ;
You can’t perform that action at this time.
0 commit comments