summary refs log tree commit diff
path: root/nixos/modules/services/security/privacyidea.nix
diff options
context:
space:
mode:
authorMartin Weinelt <mweinelt@users.noreply.github.com>2021-06-22 23:55:21 +0200
committerGitHub <noreply@github.com>2021-06-22 23:55:21 +0200
commitb607aadaac36e77ff58303d199ae4f77227e41f3 (patch)
tree0ce5a76872bea27ed4a91b272b9972e97c5a2954 /nixos/modules/services/security/privacyidea.nix
parent32e718341035ef748812b641d6f3e75e216b5d7f (diff)
parent465e5fc8cd73eca36e6bc4a320fdac8bd50bb160 (diff)
downloadnixpkgs-b607aadaac36e77ff58303d199ae4f77227e41f3.tar
nixpkgs-b607aadaac36e77ff58303d199ae4f77227e41f3.tar.gz
nixpkgs-b607aadaac36e77ff58303d199ae4f77227e41f3.tar.bz2
nixpkgs-b607aadaac36e77ff58303d199ae4f77227e41f3.tar.lz
nixpkgs-b607aadaac36e77ff58303d199ae4f77227e41f3.tar.xz
nixpkgs-b607aadaac36e77ff58303d199ae4f77227e41f3.tar.zst
nixpkgs-b607aadaac36e77ff58303d199ae4f77227e41f3.zip
Merge branch 'master' into staging-next
Diffstat (limited to 'nixos/modules/services/security/privacyidea.nix')
-rw-r--r--nixos/modules/services/security/privacyidea.nix4
1 files changed, 2 insertions, 2 deletions
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;