brainix/sources/nixpkgs/maintainers/scripts/update-python-libraries
2026-02-13 17:06:24 +09:00

5 lines
289 B
Bash
Executable file

#!/bin/sh
build=`nix-build -E "with import (fetchTarball "channel:nixpkgs-unstable") {}; python3.withPackages(ps: with ps; [ packaging requests toolz ])"`
python=${build}/bin/python
exec ${python} pkgs/development/interpreters/python/update-python-libraries/update-python-libraries.py $@