We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88f3d77 commit c01fcc7Copy full SHA for c01fcc7
.gitignore
@@ -3,3 +3,4 @@
3
.swp
4
target/
5
dist/
6
+result
README.md
@@ -244,3 +244,19 @@ RUST_LOG=TRACE mod_installer [OPTIONS]
244
```
245
246
For more information on logging visit the rust crate [`log`](https://crates.io/crates/log).
247
+
248
+### Building
249
250
+We offer two ways of building the mod_installer. Nix or cargo directly.
251
252
+#### Cargo
253
254
+```sh
255
+cargo build --release
256
+```
257
258
+#### Nix
259
260
261
+nix build -f default.nix
262
default.nix
@@ -0,0 +1,7 @@
1
+{ pkgs ? import <nixpkgs> { } }:
2
+pkgs.rustPlatform.buildRustPackage rec {
+ pname = "mod_installer";
+ version = "9.2.1";
+ cargoLock.lockFile = ./Cargo.lock;
+ src = pkgs.lib.cleanSource ./.;
7
+}
0 commit comments