From 5aad4e73b6c1152f381865ae138c4f5c883a4e75 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sun, 20 Jun 2021 23:12:11 +0200 Subject: privacyIDEA: 3.5.2 -> 3.6 ChangeLog: https://github.com/privacyidea/privacyidea/releases/tag/v3.6 Unfortunately we have to use `sqlalchemy` at 1.3 for `sqlsoup`. As `sqlalchemy` is required by a lot of packages, I decided to move this package out of `pythonPackages` itself and instantiate a new `pythonPackages` inside the expression where `sqlalchemy` points to `sqlalchemy_1_3`. --- nixos/modules/services/security/privacyidea.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nixos/modules') diff --git a/nixos/modules/services/security/privacyidea.nix b/nixos/modules/services/security/privacyidea.nix index 2696dca4c76..63271848e94 100644 --- a/nixos/modules/services/security/privacyidea.nix +++ b/nixos/modules/services/security/privacyidea.nix @@ -7,7 +7,7 @@ let uwsgi = pkgs.uwsgi.override { plugins = [ "python3" ]; }; python = uwsgi.python3; - penv = python.withPackages (ps: [ ps.privacyidea ]); + penv = python.withPackages (const [ pkgs.privacyidea ]); logCfg = pkgs.writeText "privacyidea-log.cfg" '' [formatters] keys=detail @@ -194,7 +194,7 @@ in (mkIf cfg.enable { - environment.systemPackages = [ python.pkgs.privacyidea ]; + environment.systemPackages = [ pkgs.privacyidea ]; services.postgresql.enable = mkDefault true; -- cgit 1.4.1