aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-05-23 17:52:33 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-05-23 17:52:33 +0300
commitb0a3d8c48ee9705eb5e09d25ff3b6611523e99f1 (patch)
treef73af3b15a3657473bd7e3774ca088c3183aa790
parent515e4d2180f6851befdaf71b9b0874e5343708fb (diff)
docs: recommend release tags for nix installs
-rw-r--r--docs/next/README.md8
-rw-r--r--docs/next/website/src/content/docs/install.mdx8
2 files changed, 10 insertions, 6 deletions
diff --git a/docs/next/README.md b/docs/next/README.md
index 99e99e6c..cf99dc28 100644
--- a/docs/next/README.md
+++ b/docs/next/README.md
@@ -300,11 +300,13 @@ cargo build --release
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
+nix run github:ogulcancelik/herdr/v0.x.y
+nix build github:ogulcancelik/herdr/v0.x.y
+nix develop github:ogulcancelik/herdr/v0.x.y
```
+Replace `v0.x.y` with the latest release tag. You can omit the tag to track `master`, but release tags are recommended for normal installs.
+
The flake exposes `packages.<system>.default`, `apps.<system>.default`, `devShells.<system>.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 <index-or-name>`. For flake inputs, run `nix flake update herdr` in your own flake and rebuild.
diff --git a/docs/next/website/src/content/docs/install.mdx b/docs/next/website/src/content/docs/install.mdx
index 69834567..9852b0f1 100644
--- a/docs/next/website/src/content/docs/install.mdx
+++ b/docs/next/website/src/content/docs/install.mdx
@@ -38,11 +38,13 @@ herdr update
If you already use Nix, Herdr provides a flake that builds Herdr from source:
```bash
-nix run github:ogulcancelik/herdr
-nix build github:ogulcancelik/herdr
-nix profile install github:ogulcancelik/herdr
+nix run github:ogulcancelik/herdr/v0.x.y
+nix build github:ogulcancelik/herdr/v0.x.y
+nix profile install github:ogulcancelik/herdr/v0.x.y
```
+Replace `v0.x.y` with the latest release tag. You can omit the tag to track `master`, but release tags are recommended for normal installs.
+
The flake also exposes a development shell:
```bash