Created
March 8, 2023 12:24
-
-
Save arianvp/280b2f700d1b2f6a5c6b704b5c97e40e to your computer and use it in GitHub Desktop.
thesis.nix
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
{ pkgs ? import <nixpkgs> {} }: | |
let | |
fontsConf = pkgs.makeFontsConf { | |
fontDirectories = [ ./fonts ]; | |
}; | |
texlive = pkgs.texlive.combine { | |
inherit (pkgs.texlive) | |
appendix | |
tikzmark | |
biblatex | |
beamer | |
translator | |
colortbl | |
ccaption | |
currfile | |
environ | |
pgfopts | |
metafont | |
etoolbox | |
euenc | |
fancyvrb | |
siunitx | |
filehook | |
fontspec | |
trimspaces | |
graphics | |
ifluatex | |
ifxetex | |
ifmtarg | |
latexmk | |
lazylist | |
logreq | |
pgf | |
polytable | |
pgfplots | |
scheme-basic | |
beamertheme-metropolis | |
zapfding | |
stmaryrd | |
subfiles | |
titlesec | |
tikz-cd | |
titling | |
tocloft | |
unicode-math | |
xcolor | |
listings | |
quotchap | |
xetex | |
xifthen | |
xkeyval | |
setspace | |
xstring | |
; | |
}; | |
in | |
pkgs.stdenv.mkDerivation { | |
name = "thesis"; | |
src = ./.; | |
FONTCONFIG_FILE = "${fontsConf}"; | |
buildInputs = [ pkgs.gnuplot pkgs.biber pkgs.haskellPackages.lhs2tex pkgs.fontconfig texlive pkgs.entr ]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment