diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-12-02 03:29:04 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-12-02 03:29:43 +0100 |
commit | ac82700414f1c2877cc33d11bbc39d309295e367 (patch) | |
tree | afc9167c592f3231db99f538fafb5df99f45c8d7 /pkgs/development/interpreters/python | |
parent | 50311a8d071c7f741f9a4d12736a8025b962ec64 (diff) | |
download | nixlib-ac82700414f1c2877cc33d11bbc39d309295e367.tar nixlib-ac82700414f1c2877cc33d11bbc39d309295e367.tar.gz nixlib-ac82700414f1c2877cc33d11bbc39d309295e367.tar.bz2 nixlib-ac82700414f1c2877cc33d11bbc39d309295e367.tar.lz nixlib-ac82700414f1c2877cc33d11bbc39d309295e367.tar.xz nixlib-ac82700414f1c2877cc33d11bbc39d309295e367.tar.zst nixlib-ac82700414f1c2877cc33d11bbc39d309295e367.zip |
update-python-libraries: quiet nix stderr output
We query lots of derivation attributes, most of which do not exist, so logging stderr causes a lot of noise for no gain.
Diffstat (limited to 'pkgs/development/interpreters/python')
-rwxr-xr-x | pkgs/development/interpreters/python/update-python-libraries/update-python-libraries.py | 3 |
1 files changed, 2 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 ff58c4438057..d9b539926b83 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 @@ -87,7 +87,8 @@ def _get_attr_value(attr_path: str) -> Optional[Any]: f"{NIXPKGS_ROOT}/default.nix", "--json", f"{attr_path}", - ] + ], + stderr=subprocess.DEVNULL, ) return json.loads(response.decode()) except (subprocess.CalledProcessError, ValueError): |