nixos-config/packages/scripts/update-python-libraries

6 lines
211 B
Bash
Executable file

#!/bin/sh
set -x
build=`nix-build -E "with import <nixpkgs> {}; python3.withPackages(ps: with ps; [ packaging requests toolz ])"`
python=${build}/bin/python
exec ${python} scripts/update-python-libraries.py $@