nixpkgs/maintainers/scripts/update-python-libraries
2018-12-19 09:37:59 +01:00

6 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 $@