readme: add some more instructions
This commit is contained in:
parent
63a6c65901
commit
892112e568
1 changed files with 16 additions and 1 deletions
17
README.md
17
README.md
|
@ -11,8 +11,23 @@ Install Nix with flakes.
|
||||||
nix build
|
nix build
|
||||||
```
|
```
|
||||||
|
|
||||||
Or run without installing:
|
Or run directly:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
nix run "git+https://code.youwen.dev/youwen5/cartographer.git"
|
nix run "git+https://code.youwen.dev/youwen5/cartographer.git"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
You may also be able to compile it manually using `cargo` but this is not
|
||||||
|
officially supported. Use the latest stable Rust toolchain. You must have
|
||||||
|
`openssl` and the necessary libraries for Rust to link against.
|
||||||
|
|
||||||
|
## Hacking
|
||||||
|
|
||||||
|
You can enter a development shell with all of the required dependencies
|
||||||
|
(including `openssl`) with
|
||||||
|
|
||||||
|
```bash
|
||||||
|
nix develop
|
||||||
|
```
|
||||||
|
|
||||||
|
Or use [direnv](https://direnv.net/) and simply `direnv allow`.
|
||||||
|
|
Loading…
Reference in a new issue