forgejo: updated to python 3.9

progresses #21
This commit is contained in:
Serĉanto de Scio 2023-06-12 09:35:42 +10:00
parent e1b0272ef5
commit 94a6f0ad05
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA

View file

@ -9,7 +9,6 @@
sources = import ../nix/sources.nix; sources = import ../nix/sources.nix;
unstable = import sources.nixpkgsUnstable {}; unstable = import sources.nixpkgsUnstable {};
in { in {
services.gitea = { services.gitea = {
enable = true; # Enable Forgejo enable = true; # Enable Forgejo
appName = "mcwhirter.io: Forgejo Service"; # Give the site a name appName = "mcwhirter.io: Forgejo Service"; # Give the site a name
@ -23,7 +22,7 @@ in {
httpPort = 3002; # Provided unique port httpPort = 3002; # Provided unique port
package = unstable.forgejo; # a soft fork of gitea package = unstable.forgejo; # a soft fork of gitea
settings = let settings = let
docutils = pkgs.python37.withPackages (ps: docutils = pkgs.python39.withPackages (ps:
with ps; [ with ps; [
docutils # Provides rendering of ReStructured Text files docutils # Provides rendering of ReStructured Text files
pygments # Provides syntax highlighting pygments # Provides syntax highlighting