diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2018-12-19 09:37:59 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2018-12-19 09:37:59 +0100 |
commit | 87d993f64182afd56010e8cee24a11a82b08ea1d (patch) | |
tree | 23491b8d4dd6c58f9fc8d816e5bc3afddd8b14b3 /maintainers | |
parent | ee9bfb40b0e8ed24480c07fdcf49337fbac5c41a (diff) | |
download | nixlib-87d993f64182afd56010e8cee24a11a82b08ea1d.tar nixlib-87d993f64182afd56010e8cee24a11a82b08ea1d.tar.gz nixlib-87d993f64182afd56010e8cee24a11a82b08ea1d.tar.bz2 nixlib-87d993f64182afd56010e8cee24a11a82b08ea1d.tar.lz nixlib-87d993f64182afd56010e8cee24a11a82b08ea1d.tar.xz nixlib-87d993f64182afd56010e8cee24a11a82b08ea1d.tar.zst nixlib-87d993f64182afd56010e8cee24a11a82b08ea1d.zip |
fix update-python-libraries
Diffstat (limited to 'maintainers')
-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 d56c9e6338cc..4a6024c40380 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 $@ |