From e327d80263011675ad5b2472969fdb07944e1c1d Mon Sep 17 00:00:00 2001 From: clerie Date: Tue, 31 Aug 2021 19:16:53 +0200 Subject: [PATCH] Fix module import --- hosts/web-2/iot-data.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/web-2/iot-data.nix b/hosts/web-2/iot-data.nix index a5f7413..2247f21 100644 --- a/hosts/web-2/iot-data.nix +++ b/hosts/web-2/iot-data.nix @@ -22,7 +22,7 @@ IOT_DATA_CONFIG = "/var/src/iot-data-config.json"; }; script = "gunicorn -w 1 -b [::1]:8235 iot_data:app"; - path = with pkgs; [ (python38.withPackages (ps: [ ps.gunicorn iot-data ])) ]; + path = with pkgs; [ (python3.withPackages (ps: [ ps.gunicorn iot-data ])) ]; }; services.nginx.virtualHosts = {