nixos/privacyidea: pin python to 3.9
Otherwise `pi-manage` doesn't work inside the Python env (which is 3.10 whereas privacyidea requires 3.9). Failing Hydra build: https://hydra.nixos.org/build/182734928
This commit is contained in:
parent
1360dd9d71
commit
000d72eb7f
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ let
|
|||
cfg = config.services.privacyidea;
|
||||
opt = options.services.privacyidea;
|
||||
|
||||
uwsgi = pkgs.uwsgi.override { plugins = [ "python3" ]; };
|
||||
uwsgi = pkgs.uwsgi.override { plugins = [ "python3" ]; python3 = pkgs.python39; };
|
||||
python = uwsgi.python3;
|
||||
penv = python.withPackages (const [ pkgs.privacyidea ]);
|
||||
logCfg = pkgs.writeText "privacyidea-log.cfg" ''
|
||||
|
|
Loading…
Reference in a new issue