From fbf209419bc1f11ca760a93e4deb7c361ba11c88 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Wed, 2 Apr 2025 16:10:31 +0100 Subject: docs: add nix install instructions to readme as an additional install option --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 44bb168..f5b7d43 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,8 @@ install options: 1. **build from source**: clone this repository, [install rust and cargo](https://www.rust-lang.org/tools/install), checkout the latest release tag, run `cargo build --release` and move `./target/release/ngit` and `./target/release/git-remote-nostr` to your PATH. 2. **install with cargo**: [install rust and cargo](https://www.rust-lang.org/tools/install), run `cargo install ngit`, maken sure `~/.cargo/bin` is in your PATH -3. download the latest release binaries from [gitworkshop.dev/ngit](https://gitworkshop.dev/ngit) and add to PATH +3. **install with nix**: add `ngit.url = "github:DanConwayDev/ngit-cli";` as a flake input and then include `inputs.ngit.packages."${pkgs.system}".default` in packages. +4. download the latest release binaries from [gitworkshop.dev/ngit](https://gitworkshop.dev/ngit) and add to PATH run the commands `ngit` and `git-remote-nostr` to ensure the binaries are in your PATH. -- cgit v1.2.3