diff options
Diffstat (limited to 'shell.nix')
| -rw-r--r-- | shell.nix | 23 | 
1 files changed, 23 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..fdcd1cf --- /dev/null +++ b/shell.nix @@ -0,0 +1,23 @@ +with import <nixpkgs> {}; + +stdenv.mkDerivation rec { +  name = "latex-env"; +  env = buildEnv { name = name; paths = buildInputs; }; + +  buildInputs = let +    texlive-custom = texlive.combine { +      inherit (texlive) scheme-small collection-langgerman latexmk +      amsmath +      cm-super +      bibtex biblatex logreq xstring +      ; +    }; +  in [ +    gnumake +    texlive-custom +  ]; + +  shellHook = '' +    export NIX_SHELL_NAME="${name}" +  ''; +}  | 
