aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2019-03-30 17:30:23 +0100
committerAdrian Kummerlaender2019-03-30 17:30:23 +0100
commit8f599f45e31bb465a4aa9fe78d34dfc2323b9aeb (patch)
tree41bd25cff4dabbc7a6341a67f2e5a23e798d06c7
parente4ba166e0cc77d78e882126a97a9681f1de2bb20 (diff)
downloadgrid_refinement_bsc_thesis-8f599f45e31bb465a4aa9fe78d34dfc2323b9aeb.tar
grid_refinement_bsc_thesis-8f599f45e31bb465a4aa9fe78d34dfc2323b9aeb.tar.gz
grid_refinement_bsc_thesis-8f599f45e31bb465a4aa9fe78d34dfc2323b9aeb.tar.bz2
grid_refinement_bsc_thesis-8f599f45e31bb465a4aa9fe78d34dfc2323b9aeb.tar.lz
grid_refinement_bsc_thesis-8f599f45e31bb465a4aa9fe78d34dfc2323b9aeb.tar.xz
grid_refinement_bsc_thesis-8f599f45e31bb465a4aa9fe78d34dfc2323b9aeb.tar.zst
grid_refinement_bsc_thesis-8f599f45e31bb465a4aa9fe78d34dfc2323b9aeb.zip
Fix build instructionsHEADmaster
-rw-r--r--README.md5
-rw-r--r--shell.nix12
2 files changed, 10 insertions, 7 deletions
diff --git a/README.md b/README.md
index 359df8b..917dc41 100644
--- a/README.md
+++ b/README.md
@@ -14,7 +14,10 @@ Ziel dieser Arbeit ist es, aus der Behebung dieser Einschränkung heraus einen G
## Build
```
-nix-shell --command make
+nix-shell
+mkdir -p build/tikzcache
+ln -s build/tikzcache .
+make
```
Die Rohdaten der dokumentierten Simulationsergebnisse finden sich in `img/data`.
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