aboutsummaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
authorAdrian Kummerlaender2019-03-30 17:30:23 +0100
committerAdrian Kummerlaender2019-03-30 17:30:23 +0100
commit8f599f45e31bb465a4aa9fe78d34dfc2323b9aeb (patch)
tree41bd25cff4dabbc7a6341a67f2e5a23e798d06c7 /shell.nix
parente4ba166e0cc77d78e882126a97a9681f1de2bb20 (diff)
downloadgrid_refinement_bsc_thesis-master.tar
grid_refinement_bsc_thesis-master.tar.gz
grid_refinement_bsc_thesis-master.tar.bz2
grid_refinement_bsc_thesis-master.tar.lz
grid_refinement_bsc_thesis-master.tar.xz
grid_refinement_bsc_thesis-master.tar.zst
grid_refinement_bsc_thesis-master.zip
Fix build instructionsHEADmaster
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/shell.nix b/shell.nix
index 76a3be4..b99cd78 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
amsmath
abstract
cm-super
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
adjustbox collectbox
;
};
- in [
+ in with pkgs; [
gnumake
texlive-custom biber
python3Packages.pygments