Loading pkgs/servers/asterisk/default.nix +2 −2 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ , libtool , automake , fetchpatch , python39 , python3 , writeScript , withOpus ? true , ldapSupport ? false Loading Loading @@ -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} Loading pkgs/servers/asterisk/update.py +1 −1 Original line number Diff line number Diff line #!/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 Loading Loading
pkgs/servers/asterisk/default.nix +2 −2 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ , libtool , automake , fetchpatch , python39 , python3 , writeScript , withOpus ? true , ldapSupport ? false Loading Loading @@ -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} Loading
pkgs/servers/asterisk/update.py +1 −1 Original line number Diff line number Diff line #!/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 Loading