From 9d01000257dfc8615fb083b1064205fd92451825 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 13 Jun 2020 06:11:38 +0100 Subject: 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 --- ops/nixos/modules/monorepo-gerrit.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ops/nixos') diff --git a/ops/nixos/modules/monorepo-gerrit.nix b/ops/nixos/modules/monorepo-gerrit.nix index a5ba6c6844cd..5e71a60c5c0a 100644 --- a/ops/nixos/modules/monorepo-gerrit.nix +++ b/ops/nixos/modules/monorepo-gerrit.nix @@ -4,8 +4,8 @@ let cfg = config.services.gerrit; gerritHooks = pkgs.runCommandNoCC "gerrit-hooks" {} '' - mkdir -p $out/bin - ln -s ${config.depot.ops.besadii}/bin/besadii $out/bin/ref-updated + mkdir -p $out + ln -s ${config.depot.ops.besadii}/bin/besadii $out/ref-updated ''; in { services.gerrit = { -- cgit 1.4.1