nix-packages/scripts/update-python-libraries

5 lines
236 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} scripts/update-python-libraries.py $@