aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2019-03-30 16:03:05 +0100
committerAdrian Kummerlaender2019-03-30 16:03:05 +0100
commitee24fd01a4b4658bf0f19568969c432d86cc00ef (patch)
tree0d243b8f7c21b33570aeb951f0a3bd5afca371c5
parenteeaa5229a482ea348b8bc09fb0bffd2447bb640d (diff)
downloadmath_reference_sheets-ee24fd01a4b4658bf0f19568969c432d86cc00ef.tar
math_reference_sheets-ee24fd01a4b4658bf0f19568969c432d86cc00ef.tar.gz
math_reference_sheets-ee24fd01a4b4658bf0f19568969c432d86cc00ef.tar.bz2
math_reference_sheets-ee24fd01a4b4658bf0f19568969c432d86cc00ef.tar.lz
math_reference_sheets-ee24fd01a4b4658bf0f19568969c432d86cc00ef.tar.xz
math_reference_sheets-ee24fd01a4b4658bf0f19568969c432d86cc00ef.tar.zst
math_reference_sheets-ee24fd01a4b4658bf0f19568969c432d86cc00ef.zip
Update Nix shell
-rw-r--r--shell.nix12
1 files 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 <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
];