diff options
Update Nix shell
-rw-r--r-- | shell.nix | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1,12 +1,12 @@ -with import <nixpkgs> {}; +{ pkgs ? import <nixpkgs> { }, ... }: -stdenv.mkDerivation rec { +pkgs.stdenv.mkDerivation rec { name = "latex-env"; - env = buildEnv { name = name; paths = buildInputs; }; + env = pkgs.buildEnv { name = name; paths = buildInputs; }; buildInputs = let - texlive-custom = texlive.combine { - inherit (texlive) scheme-small collection-langgerman latexmk + texlive-custom = pkgs.texlive.combine { + inherit (pkgs.texlive) scheme-small collection-langgerman latexmk kpfonts titlesec listings @@ -18,7 +18,7 @@ stdenv.mkDerivation rec { ; }; in [ - gnumake + pkgs.gnumake texlive-custom ]; |