Merge pull request #197309 from qowoz/hound
This commit is contained in:
commit
eebe7c8588
@ -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 ];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user