From b46276658fcd819cb73423805116e3a93bd828f3 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Wed, 19 Dec 2018 09:37:59 +0100 Subject: [PATCH] fix update-python-libraries --- maintainers/scripts/update-python-libraries | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 $@