Created
July 15, 2018 08:33
-
-
Save markus1189/713bbd6375fbc10d1ccc8c838fda1598 to your computer and use it in GitHub Desktop.
nix shell environment for the "category for programmers" latex build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run this command to build the pdf: | |
# > nix-shell --pure shell.nix --command 'cd src; make' | |
{ pkgs ? import <nixpkgs> {} }: with pkgs; | |
mkShell { | |
FONTCONFIG_FILE = makeFontsConf { fontDirectories = [ inconsolata-lgc libertine libertinus ]; }; | |
buildInputs = [ | |
(texlive.combine { | |
inherit (texlive) | |
fvextra | |
framed | |
newtx | |
nowidow | |
emptypage | |
wrapfig | |
subfigure | |
adjustbox | |
collectbox | |
tikz-cd | |
imakeidx | |
idxlayout | |
titlesec | |
subfiles | |
lettrine | |
upquote | |
scheme-medium | |
listings | |
minted | |
microtype | |
babel | |
todonotes | |
chngcntr | |
ifplatform | |
xstring | |
enumitem; | |
}) | |
gnumake | |
pythonPackages.pygments | |
which | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment