nix-packages/scripts/update-python-libraries

7 lines
211 B
Text
Raw Normal View History

2022-09-26 10:08:18 +00:00
#!/bin/sh
2023-08-22 12:10:26 +00:00
set -x
build=`nix-build -E "with import <nixpkgs> {}; python3.withPackages(ps: with ps; [ packaging requests toolz ])"`
2022-09-26 10:08:18 +00:00
python=${build}/bin/python
exec ${python} scripts/update-python-libraries.py $@