nix-packages/scripts/update-python-libraries

6 lines
236 B
Text
Raw Normal View History

2022-09-26 10:08:18 +00:00
#!/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} scripts/update-python-libraries.py $@