From ec2924d0d1f21417802c3efd0ed46b9db2c00582 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Sat, 23 May 2026 17:34:01 +0300 Subject: feat: add optional nix flake support refs #208 refs #221 refs #264 --- docs/next/README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'docs/next/README.md') diff --git a/docs/next/README.md b/docs/next/README.md index 16a9fd1c..99e99e6c 100644 --- a/docs/next/README.md +++ b/docs/next/README.md @@ -295,6 +295,20 @@ cargo build --release ./target/release/herdr ``` +## nix + +Herdr provides optional Nix flake outputs for users who already use Nix. The flake builds Herdr from source. + +```bash +nix run github:ogulcancelik/herdr +nix build github:ogulcancelik/herdr +nix develop github:ogulcancelik/herdr +``` + +The flake exposes `packages..default`, `apps..default`, `devShells..default`, and `overlays.default`. + +Update through the same Nix workflow you used to install Herdr. For profile installs, run `nix profile list` and then `nix profile upgrade `. For flake inputs, run `nix flake update herdr` in your own flake and rebuild. + ## testing ```bash -- cgit v1.2.3