about summary refs log tree commit diff
diff options
context:
space:
mode:
authorlelgenio <lelgenio@disroot.org>2023-09-12 10:43:41 -0300
committerlelgenio <lelgenio@disroot.org>2023-09-12 10:50:57 -0300
commit4f802070e5f4422dfbf1f15f929ec4095057ef52 (patch)
treeab287d6c6249d5559174edbbe04362d3be1feef3
parent9dbe5687c83229a9271cc264f64db6653fe4a703 (diff)
nixos/websockify: use python3 websockify
-rw-r--r--nixos/modules/services/networking/websockify.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/websockify.nix b/nixos/modules/services/networking/websockify.nix
index 45a3487bd3370..27ad8953d3faf 100644
--- a/nixos/modules/services/networking/websockify.nix
+++ b/nixos/modules/services/networking/websockify.nix
@@ -38,7 +38,7 @@ let cfg = config.services.networking.websockify; in {
       description = "Service to forward websocket connections to TCP connections (from port:to port %I)";
       script = ''
         IFS=':' read -a array <<< "$1"
-        ${pkgs.pythonPackages.websockify}/bin/websockify --ssl-only \
+        ${pkgs.python3Packages.websockify}/bin/websockify --ssl-only \
           --cert=${cfg.sslCert} --key=${cfg.sslKey} 0.0.0.0:''${array[0]} 0.0.0.0:''${array[1]}
       '';
       scriptArgs = "%i";