From b0a3d8c48ee9705eb5e09d25ff3b6611523e99f1 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Sat, 23 May 2026 17:52:33 +0300 Subject: docs: recommend release tags for nix installs --- docs/next/README.md | 8 +++++--- docs/next/website/src/content/docs/install.mdx | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) (limited to 'docs') 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..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. 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 -- cgit v1.2.3