diff --git a/pkgs/servers/asterisk/default.nix b/pkgs/servers/asterisk/default.nix index c49e5696a676..49afdf7348bd 100644 --- a/pkgs/servers/asterisk/default.nix +++ b/pkgs/servers/asterisk/default.nix @@ -28,7 +28,7 @@ , libtool , automake , fetchpatch -, python39 +, python3 , writeScript , withOpus ? true , ldapSupport ? false @@ -193,7 +193,7 @@ let }) (lib.importJSON ./versions.json); - updateScript_python = python39.withPackages (p: with p; [ packaging beautifulsoup4 requests ]); + updateScript_python = python3.withPackages (p: with p; [ packaging beautifulsoup4 requests ]); updateScript = writeScript "asterisk-update" '' #!/usr/bin/env bash exec ${updateScript_python}/bin/python ${toString ./update.py} diff --git a/pkgs/servers/asterisk/update.py b/pkgs/servers/asterisk/update.py index f8804744956f..905f396284ca 100755 --- a/pkgs/servers/asterisk/update.py +++ b/pkgs/servers/asterisk/update.py @@ -1,5 +1,5 @@ #!/usr/bin/env nix-shell -#!nix-shell -i python3 -p python39 python39.pkgs.packaging python39.pkgs.beautifulsoup4 python39.pkgs.requests +#!nix-shell -i python3 -p python3 python3.pkgs.packaging python3.pkgs.beautifulsoup4 python3.pkgs.requests # mirrored in ./default.nix from packaging import version from bs4 import BeautifulSoup