@@ -8,7 +8,7 @@ This repository contains instructions and a `nix` setup needed for building
8
8
To build the latex document run:
9
9
10
10
``` shell
11
- nix-shell --pure -- run make
11
+ nix-shell --run make
12
12
```
13
13
14
14
The document can be built using ` nix-build ` . After running this command look
@@ -17,7 +17,7 @@ inside the `result` directory.
17
17
For a continuous compilation of the ` LaTeX ` file run:
18
18
19
19
``` shell
20
- nix-shell --pure -- run " make watch"
20
+ nix-shell --run " make watch"
21
21
```
22
22
23
23
## Adding packages
@@ -28,7 +28,7 @@ Most likely you will need other `LaTeX` packages. These can be added in the
28
28
Note that when adding a new package, it might be necessary to run:
29
29
30
30
``` shell
31
- nix-shell --pure -- run " make clean"
31
+ nix-shell --run " make clean"
32
32
```
33
33
34
34
## Managing versions using niv
@@ -37,3 +37,9 @@ The first step towards reproducible builds is specifying which package versions
37
37
we need. This process is greatly simplified by
38
38
[ ` niv ` ] ( https://github.com/nmattia/niv ) . Make sure you install it using nix to
39
39
manage the ` nixpkgs ` versions as well as other sources you need to pin.
40
+
41
+ ## Improve your workflow further by using lorri
42
+
43
+ If you install and configure [ ` lorri ` ] ( https://github.com/target/lorri ) then it
44
+ is not necessary to use the ` nix-shell ` command, and one can use ` make `
45
+ directly. See the project documentation for details on how to use it.
0 commit comments