about summary refs log tree commit diff
path: root/modules/services/gitolite/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/services/gitolite/default.nix')
-rw-r--r--modules/services/gitolite/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/services/gitolite/default.nix b/modules/services/gitolite/default.nix
index e2439a2..43afb71 100644
--- a/modules/services/gitolite/default.nix
+++ b/modules/services/gitolite/default.nix
@@ -44,6 +44,7 @@ in
     system.activationScripts.gitolite-create-local = ''
       mkdir -p /var/lib/gitolite/local/triggers
       mkdir -p /var/lib/gitolite/local/commands
+      mkdir -p /var/lib/gitolite/local/hooks/common
       chown -R git:git /var/lib/gitolite/local
     '';
 
@@ -51,6 +52,7 @@ in
       # https://groups.google.com/g/gitolite/c/NwZ1-hq9-9E/m/mDbiKyAvDwAJ
       "C /var/lib/gitolite/local/triggers/fix-refs 755 - - - ${./fix-refs}"
       "C /var/lib/gitolite/local/commands/rename 755 - - - ${./rename}"
+      "C /var/lib/gitolite/local/hooks/common/post-receive 755 - - - ${./post-receive}"
     ];