From ee24fd01a4b4658bf0f19568969c432d86cc00ef Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 30 Mar 2019 16:03:05 +0100 Subject: Update Nix shell --- shell.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/shell.nix b/shell.nix index e18ff03..3a48b5b 100644 --- a/shell.nix +++ b/shell.nix @@ -1,12 +1,12 @@ -with import {}; +{ pkgs ? import { }, ... }: -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 ]; -- cgit v1.2.3