diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2020-10-11 12:00:33 -0700 |
---|---|---|
committer | Jonathan Ringer <jonringer117@gmail.com> | 2020-10-11 12:03:18 -0700 |
commit | 2a9c3ec0837fbb17b8cd2a10205c55014ee92210 (patch) | |
tree | 1f7af2d701087db0d4d6c1a848947acdd67ae8e7 /pkgs/development/interpreters/python | |
parent | 69519cfc27381cad569eb99bf64e10c35fe7a05d (diff) |
update-python-libraries: make script updateScript friendly
Diffstat (limited to 'pkgs/development/interpreters/python')
-rwxr-xr-x | pkgs/development/interpreters/python/update-python-libraries/update-python-libraries.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/python/update-python-libraries/update-python-libraries.py b/pkgs/development/interpreters/python/update-python-libraries/update-python-libraries.py index 8b6f082674cd..f822cea64da8 100755 --- a/pkgs/development/interpreters/python/update-python-libraries/update-python-libraries.py +++ b/pkgs/development/interpreters/python/update-python-libraries/update-python-libraries.py @@ -33,7 +33,7 @@ PRERELEASES = False GIT = "git" -NIXPGKS_ROOT = str(pathlib.Path(__file__).absolute().parents[5]) +NIXPGKS_ROOT = subprocess.check_output(["git", "rev-parse", "--show-toplevel"]).decode('utf-8').strip() import logging logging.basicConfig(level=logging.INFO) |