about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorFabián Heredia Montiel <303897+fabianhjr@users.noreply.github.com>2023-09-12 11:01:59 -0500
committerGitHub <noreply@github.com>2023-09-12 11:01:59 -0500
commit96593e98d890568a09690cce8f563e3381f9bb2b (patch)
tree889f0092e46c246e5a4d2ca1ad584fbd2cea8e55 /nixos
parentb6b601f77d27bd92b2e22ee7cfc5f223e8a56621 (diff)
parent4f802070e5f4422dfbf1f15f929ec4095057ef52 (diff)
Merge pull request #254759 from lelgenio/websockify-use-python3
nixos/websockify: use python3 websockify
Diffstat (limited to 'nixos')
-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";