diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2018-12-19 09:37:59 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2018-12-23 09:54:28 +0100 |
commit | b46276658fcd819cb73423805116e3a93bd828f3 (patch) | |
tree | f41dc2f59b811b775359ab458ce6a2ab5526ef93 /maintainers/scripts/update-python-libraries | |
parent | dd6b4b7078d89decabefc6b1a698327db132fbfe (diff) | |
download | nixpkgs-b46276658fcd819cb73423805116e3a93bd828f3.tar nixpkgs-b46276658fcd819cb73423805116e3a93bd828f3.tar.gz nixpkgs-b46276658fcd819cb73423805116e3a93bd828f3.tar.bz2 nixpkgs-b46276658fcd819cb73423805116e3a93bd828f3.tar.lz nixpkgs-b46276658fcd819cb73423805116e3a93bd828f3.tar.xz nixpkgs-b46276658fcd819cb73423805116e3a93bd828f3.tar.zst nixpkgs-b46276658fcd819cb73423805116e3a93bd828f3.zip |
fix update-python-libraries
Diffstat (limited to 'maintainers/scripts/update-python-libraries')
-rwxr-xr-x | maintainers/scripts/update-python-libraries | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/maintainers/scripts/update-python-libraries b/maintainers/scripts/update-python-libraries index d56c9e6338c..4a6024c4038 100755 --- a/maintainers/scripts/update-python-libraries +++ b/maintainers/scripts/update-python-libraries @@ -1,3 +1,5 @@ #!/bin/sh -exec nix-shell -p "python3.withPackages(ps: with ps; [ packaging requests toolz ])" -p git --run pkgs/development/interpreters/python/update-python-libraries/update-python-libraries.py +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 $@ |