From 4bf1d8c67de2dd03020678d55b5a9f81db47120c Mon Sep 17 00:00:00 2001 From: kyren Date: Wed, 6 Mar 2019 22:18:59 -0500 Subject: nixos/bepasty: switch to python3Packages to match bepasty package I think the bepasty nixos service has been broken since c539c02, since bepasty changed from using python2.7 to python3.7. This updates the nixos module to refer to the matching python version. --- nixos/modules/services/misc/bepasty.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/modules/services/misc/bepasty.nix b/nixos/modules/services/misc/bepasty.nix index 62835c194e4..006feca42b3 100644 --- a/nixos/modules/services/misc/bepasty.nix +++ b/nixos/modules/services/misc/bepasty.nix @@ -2,10 +2,10 @@ with lib; let - gunicorn = pkgs.pythonPackages.gunicorn; + gunicorn = pkgs.python3Packages.gunicorn; bepasty = pkgs.bepasty; - gevent = pkgs.pythonPackages.gevent; - python = pkgs.pythonPackages.python; + gevent = pkgs.python3Packages.gevent; + python = pkgs.python3Packages.python; cfg = config.services.bepasty; user = "bepasty"; group = "bepasty"; -- cgit 1.4.1