diff options
author | lelgenio <lelgenio@disroot.org> | 2023-09-12 10:43:41 -0300 |
---|---|---|
committer | lelgenio <lelgenio@disroot.org> | 2023-09-12 10:50:57 -0300 |
commit | 4f802070e5f4422dfbf1f15f929ec4095057ef52 (patch) | |
tree | ab287d6c6249d5559174edbbe04362d3be1feef3 /nixos/modules | |
parent | 9dbe5687c83229a9271cc264f64db6653fe4a703 (diff) | |
download | nixpkgs-4f802070e5f4422dfbf1f15f929ec4095057ef52.tar nixpkgs-4f802070e5f4422dfbf1f15f929ec4095057ef52.tar.gz nixpkgs-4f802070e5f4422dfbf1f15f929ec4095057ef52.tar.bz2 nixpkgs-4f802070e5f4422dfbf1f15f929ec4095057ef52.tar.lz nixpkgs-4f802070e5f4422dfbf1f15f929ec4095057ef52.tar.xz nixpkgs-4f802070e5f4422dfbf1f15f929ec4095057ef52.tar.zst nixpkgs-4f802070e5f4422dfbf1f15f929ec4095057ef52.zip |
nixos/websockify: use python3 websockify
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/networking/websockify.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/websockify.nix b/nixos/modules/services/networking/websockify.nix index 45a3487bd33..27ad8953d3f 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"; |