You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- python 2.7.15 (download from [python.org](https://www.python.org/downloads/))
34
36
35
-
#### Build the client
37
+
#####Build the client
36
38
37
39
As an alternative to downloading the client build the client from source.
38
40
@@ -46,6 +48,39 @@ in the root of the project.
46
48
47
49
This updates all submodules and creates a distribution zip in `~/target/universal/`.
48
50
51
+
#### Nix
52
+
53
+
In the root of the project:
54
+
55
+
##### Build the client
56
+
57
+
```
58
+
nix-build
59
+
```
60
+
61
+
##### Regenerate lock files
62
+
63
+
```
64
+
nix-shell
65
+
sbtix-gen-all2
66
+
```
67
+
68
+
###### Why so many lock files?
69
+
70
+
-`repo.nix` : generated by the `sbtix-gen` command and includes only the build dependencies for the project.
71
+
-`project/repo.nix` : generated by the `sbtix-gen-all` command and includes only the plugin dependencies. Also generates `repo.nix`.
72
+
-`project/project/repo.nix` : generated by the `sbtix-gen-all2` command and includes only the pluginplugin dependencies. Also generates `repo.nix` and `project/repo.nix`.
73
+
74
+
##### error: unsupported argument 'submodules' to 'fetchGit'
75
+
76
+
You get this error when you aren't using a new-enough version of Nix (fetchGit support for submodules is recent).
77
+
78
+
To fix this, update the version of Nix you are using, or in a pinch:
79
+
80
+
- Remove the "submodules = true;" argument from fetchGit (in `./nix/pkgs/mantis/default.nix`).
0 commit comments