forked from mirrors/nixpkgs
hound, nixos/hound: deduplicate runtime deps
This commit is contained in:
parent
e9b34e0de8
commit
217bf31c03
|
@ -120,7 +120,6 @@ in {
|
|||
" -conf ${pkgs.writeText "hound.json" cfg.config}";
|
||||
|
||||
};
|
||||
path = [ pkgs.git pkgs.mercurial pkgs.openssh ];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -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; };
|
||||
|
|
Loading…
Reference in a new issue