Merge pull request #197309 from qowoz/hound

This commit is contained in:
Sandro 2022-10-23 17:16:23 +02:00 committed by GitHub
commit eebe7c8588
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -120,7 +120,6 @@ in {
" -conf ${pkgs.writeText "hound.json" cfg.config}"; " -conf ${pkgs.writeText "hound.json" cfg.config}";
}; };
path = [ pkgs.git pkgs.mercurial pkgs.openssh ];
}; };
}; };

View File

@ -4,6 +4,8 @@
, makeWrapper , makeWrapper
, mercurial , mercurial
, git , git
, openssh
, nixosTests
}: }:
buildGoModule rec { buildGoModule rec {
@ -25,9 +27,11 @@ buildGoModule rec {
doCheck = false; doCheck = false;
postInstall = '' postInstall = ''
wrapProgram $out/bin/houndd --prefix PATH : ${lib.makeBinPath [ mercurial git ]} wrapProgram $out/bin/houndd --prefix PATH : ${lib.makeBinPath [ mercurial git openssh ]}
''; '';
passthru.tests = { inherit (nixosTests) hound; };
meta = with lib; { meta = with lib; {
inherit (src.meta) homepage; inherit (src.meta) homepage;
description = "Lightning fast code searching made easy"; description = "Lightning fast code searching made easy";