Update DEVELOPERS.md

This commit is contained in:
Sigilante 2024-05-20 14:27:55 -05:00 committed by GitHub
parent 34c4d036bd
commit 30fe59fed6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,6 +10,18 @@ nix develop
in `rust/` or any subdirectory, and you will be dropped into a BASH shell with the build environment set up. This will provide proper versions of non-rust dependencies, as well as the rust environment. in `rust/` or any subdirectory, and you will be dropped into a BASH shell with the build environment set up. This will provide proper versions of non-rust dependencies, as well as the rust environment.
If you receive the error
```
error: experimental Nix feature 'nix-command' is disabled; use '--extra-experimental-features nix-command' to override
```
edit your `$HOME/.config/nix/nix.conf` to include the line
```
extra-experimental-features = nix-command
```
## Rust ## Rust
### Build ### Build
@ -33,7 +45,7 @@ To run the Vere king with Ares as serf, it's necessary to modify the Vere king t
arg_c[0] = "/path/to/ares/repo/rust/ares/target/debug/ares"; arg_c[0] = "/path/to/ares/repo/rust/ares/target/debug/ares";
``` ```
Then, it is necessary to follow the [Vere build instrcutions](https://github.com/urbit/vere/blob/develop/INSTALL.md). Afterwards, it's possible to launch Vere with Ares as the serf using the usual commands: Then, it is necessary to follow the [Vere build instrcutions](https://github.com/urbit/vere/blob/develop/INSTALL.md). (You should exit the `nix develop` shell first for such a build.) Afterwards, it's possible to launch Vere with Ares as the serf using the usual commands:
```bash ```bash
bazel-bin/pkg/vere/urbit -F zod bazel-bin/pkg/vere/urbit -F zod