summary refs log tree commit diff
diff options
context:
space:
mode:
authorkyren <kerriganw@gmail.com>2019-03-06 22:18:59 -0500
committerkyren <kerriganw@gmail.com>2019-03-06 22:18:59 -0500
commit4bf1d8c67de2dd03020678d55b5a9f81db47120c (patch)
treea9db012118dfc8f486aa52540ddfe33cc20ef677
parent0baa7c90c60d2176da2e5cc389c88c847cca3ef8 (diff)
downloadnixpkgs-4bf1d8c67de2dd03020678d55b5a9f81db47120c.tar
nixpkgs-4bf1d8c67de2dd03020678d55b5a9f81db47120c.tar.gz
nixpkgs-4bf1d8c67de2dd03020678d55b5a9f81db47120c.tar.bz2
nixpkgs-4bf1d8c67de2dd03020678d55b5a9f81db47120c.tar.lz
nixpkgs-4bf1d8c67de2dd03020678d55b5a9f81db47120c.tar.xz
nixpkgs-4bf1d8c67de2dd03020678d55b5a9f81db47120c.tar.zst
nixpkgs-4bf1d8c67de2dd03020678d55b5a9f81db47120c.zip
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.
-rw-r--r--nixos/modules/services/misc/bepasty.nix6
1 files 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";