all repos — searchix @ cd6c7a1bcf654882fee3ae8a955df9cf7928094b

Search engine for NixOS, nix-darwin, home-manager and NUR users

docs: use link to current version's defaults.toml
Alan Pearce alan@alanpearce.eu
Tue, 11 Mar 2025 20:09:30 +0100
commit

cd6c7a1bcf654882fee3ae8a955df9cf7928094b

parent

333bd2fbd16fc12c36e1b1d5b5bffdf065585fa8

2 files changed, 5 insertions(+), 2 deletions(-)

jump to
M justfilejustfile
@@ -42,7 +42,10 @@ sd -F HEAD $(convco version --print-prefix --bump) | \ 		prettier --stdin-filepath CHANGELOG.md > CHANGELOG.md
 
 update-nix-package-version:
-	sd 'version = "[^"]+"' "version = \"$(convco version --bump)\"" nix/package.nix
+	#!/usr/bin/env bash
+	VER=$(convco version --bump)
+	sd 'version = "[^"]+"' "version = \"$VER\"" nix/package.nix
+	sd 'h=v.+$' "h=v$VER" nix/modules/default.nix
 
 release: clean-workdir changelog update-nix-package-version
 	git add CHANGELOG.md nix/package.nix
M nix/modules/default.nixnix/modules/default.nix
@@ -194,7 +194,7 @@ };       description = ''
         Configuration for searchix.
 
-        See https://git.alanpearce.eu/searchix/tree/defaults.toml
+        See https://git.alanpearce.eu/searchix/tree/defaults.toml?h=v0.1.26
       '';
     };
   };