]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Add python for gitolite hooks
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Thu, 3 Jan 2019 17:51:17 +0000 (18:51 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Thu, 3 Jan 2019 17:51:17 +0000 (18:51 +0100)
virtual/eldiron.nix

index e893b3a7db6fca5c3a5926ce67e4f2e87531aad7..39672b515ad932090420d8fcc188d16c89f621ee 100644 (file)
 
     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