fix(monorepo-gerrit): Do not place hooks in $out/bin

Gerrit does not expect a bin/ there.

Change-Id: I907f96690b8c6bb614dc11889712d7b122c5d5cf
Reviewed-on: https://cl.tvl.fyi/c/depot/+/181
Reviewed-by: tazjin <mail@tazj.in>
This commit is contained in:
Vincent Ambo 2020-06-13 06:11:38 +01:00 committed by tazjin
parent 665f131dda
commit 9d01000257

View file

@ -4,8 +4,8 @@
let let
cfg = config.services.gerrit; cfg = config.services.gerrit;
gerritHooks = pkgs.runCommandNoCC "gerrit-hooks" {} '' gerritHooks = pkgs.runCommandNoCC "gerrit-hooks" {} ''
mkdir -p $out/bin mkdir -p $out
ln -s ${config.depot.ops.besadii}/bin/besadii $out/bin/ref-updated ln -s ${config.depot.ops.besadii}/bin/besadii $out/ref-updated
''; '';
in { in {
services.gerrit = { services.gerrit = {