hound, nixos/hound: deduplicate runtime deps

This commit is contained in:
zowoq 2022-10-23 12:47:44 +10:00
parent e9b34e0de8
commit 217bf31c03
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -4,6 +4,7 @@
, makeWrapper
, mercurial
, git
, openssh
, nixosTests
}:
@ -26,7 +27,7 @@ buildGoModule rec {
doCheck = false;
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; };