From 8f73c09e35755ae02db3d8695c0ab6d39a41f76a Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Thu, 12 Sep 2024 01:39:53 -0700 Subject: [PATCH] readme: add some more instructions --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ec5be24..7786c9a 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,22 @@ Install Nix with flakes. nix build ``` -Or run without installing: +Or run directly: ```sh 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`.