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:
parent
665f131dda
commit
9d01000257
1 changed files with 2 additions and 2 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue