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:
committed by
Gaetan Lepage
parent
8a4c3dd822
commit
dc080d6cf6
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user