diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-01-03 18:51:17 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-01-03 18:51:17 +0100 |
commit | 19def671f5bd0865514b41a47c7a694cb513fbda (patch) | |
tree | 5abc03e804e45a4c487fd08e3d423c722c79aca8 | |
parent | 50d8fa14e0a4300960b3e5648349777e1e3ddecc (diff) | |
download | Nix-19def671f5bd0865514b41a47c7a694cb513fbda.tar.gz Nix-19def671f5bd0865514b41a47c7a694cb513fbda.tar.zst Nix-19def671f5bd0865514b41a47c7a694cb513fbda.zip |
Add python for gitolite hooks
-rw-r--r-- | virtual/eldiron.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/virtual/eldiron.nix b/virtual/eldiron.nix index e893b3a..39672b5 100644 --- a/virtual/eldiron.nix +++ b/virtual/eldiron.nix | |||
@@ -93,6 +93,15 @@ | |||
93 | 93 | ||
94 | users.users.wwwrun.extraGroups = [ "gitolite" ]; | 94 | users.users.wwwrun.extraGroups = [ "gitolite" ]; |
95 | 95 | ||
96 | users.users.gitolite.packages = let | ||
97 | python-packages = python-packages: with python-packages; [ | ||
98 | simplejson | ||
99 | urllib3 | ||
100 | ]; | ||
101 | in | ||
102 | [ | ||
103 | (pkgs.python3.withPackages python-packages) | ||
104 | ]; | ||
96 | # FIXME: after initial install, need to | 105 | # FIXME: after initial install, need to |
97 | # (1) copy rc file (adjust gitolite_ldap_groups.sh) | 106 | # (1) copy rc file (adjust gitolite_ldap_groups.sh) |
98 | # (2) (mark old readonly and) sync repos except gitolite-admin | 107 | # (2) (mark old readonly and) sync repos except gitolite-admin |