From 19def671f5bd0865514b41a47c7a694cb513fbda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Thu, 3 Jan 2019 18:51:17 +0100 Subject: Add python for gitolite hooks --- virtual/eldiron.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'virtual') 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 @@ users.users.wwwrun.extraGroups = [ "gitolite" ]; + users.users.gitolite.packages = let + python-packages = python-packages: with python-packages; [ + simplejson + urllib3 + ]; + in + [ + (pkgs.python3.withPackages python-packages) + ]; # FIXME: after initial install, need to # (1) copy rc file (adjust gitolite_ldap_groups.sh) # (2) (mark old readonly and) sync repos except gitolite-admin -- cgit v1.2.3