removed commented out pkgs
This commit is contained in:
parent
bfae8b0e6d
commit
7e61d8890e
|
@ -3,31 +3,23 @@
|
||||||
}:
|
}:
|
||||||
# Style sheets https://github.com/citation-style-language/styles/
|
# Style sheets https://github.com/citation-style-language/styles/
|
||||||
with pkgs;
|
with pkgs;
|
||||||
let deps = [
|
|
||||||
# (texlive.combine
|
stdenv.mkDerivation {
|
||||||
# { inherit (texlive)
|
name = "render_squiggle_properties";
|
||||||
# scheme-small thmtools datetime xpatch fmtcount;
|
src = ./.;
|
||||||
# }
|
buildInputs = [pandoc];
|
||||||
# )
|
buildPhase = ''
|
||||||
haskellPackages.pandoc
|
echo rendering...
|
||||||
];
|
pandoc \
|
||||||
in
|
--from markdown \
|
||||||
stdenv.mkDerivation {
|
--to latex \
|
||||||
name = "render_squiggle_properties";
|
--out properties.pdf \
|
||||||
src = ./.;
|
--pdf-engine xelatex \
|
||||||
buildInputs = deps;
|
properties.md \
|
||||||
buildPhase = ''
|
echo rendered.
|
||||||
echo rendering...
|
'';
|
||||||
pandoc \
|
installPhase = ''
|
||||||
--from markdown \
|
mkdir -p $out
|
||||||
--to latex \
|
cp properties.pdf $out/properties.pdf
|
||||||
--out properties.pdf \
|
|
||||||
--pdf-engine xelatex \
|
|
||||||
properties.md \
|
|
||||||
echo rendered.
|
|
||||||
'';
|
'';
|
||||||
installPhase = ''
|
}
|
||||||
mkdir -p $out
|
|
||||||
cp properties.pdf $out/properties.pdf
|
|
||||||
'';
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user