optinix: enable auto-update with nix-update

ask the bot to do the bumps.

Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
This commit is contained in:
Brian McGillion
2025-02-19 11:35:52 +01:00
committed by Gaetan Lepage
parent 8a4c3dd822
commit dc080d6cf6
+4 -1
View File
@@ -3,6 +3,7 @@
fetchFromGitLab,
buildGoModule,
installShellFiles,
nix-update-script,
}:
buildGoModule rec {
pname = "optinix";
@@ -11,7 +12,7 @@ buildGoModule rec {
src = fetchFromGitLab {
owner = "hmajid2301";
repo = "optinix";
rev = "v${version}";
tag = "v${version}";
hash = "sha256-OuzLTygfJj1ILT0lAcBC28vU5YLuq0ErZHsLHoQNWBA=";
};
@@ -31,6 +32,8 @@ buildGoModule rec {
--zsh <($out/bin/optinix completion zsh)
'';
passthru.updateScript = nix-update-script { };
meta = {
description = "Tool for searching options in Nix";
homepage = "https://gitlab.com/hmajid2301/optinix";