Commit dc080d6c authored by Brian McGillion's avatar Brian McGillion Committed by Gaetan Lepage
Browse files

optinix: enable auto-update with nix-update



ask the bot to do the bumps.

Signed-off-by: default avatarBrian McGillion <bmg.avoin@gmail.com>
parent 8a4c3dd8
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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";