1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- { pkgs ? (import <nixpkgs> {}) }:
- let
- env = with pkgs.haskellPackages; [
- pandoc
- pandoc-crossref
- (pkgs.texlive.combine {
- inherit (pkgs.texlive)
- scheme-basic
- amsfonts
- amsmath
- lm
- ifxetex
- ifluatex
- eurosym
- listings
- fancyvrb
- # longtable
- booktabs
- # no graphics...
- # graphicx
- # grffile
- hyperref
- ulem
- geometry
- setspace
- babel
- subfig
- caption
- # optionals
- upquote
- microtype
- csquotes
- # We have no citation support
- # natbib
- # biblatex
- # bibtex
- # biber
- # some more, not listed in the pandoc docs
- mathtools
- enumitem
- ;
- })
- pkgs.lmodern
- pkgs.which
- ];
- in
- pkgs.stdenv.mkDerivation rec {
- name = "imag-doc";
- src = ./.;
- version = "0.0.0";
- buildInputs = [ env ];
- }
|