hatch: disable impure test on macOS

This commit is contained in:
Theodore Ni 2023-08-05 14:28:19 -07:00
parent 04f88809c1
commit 179285c227
No known key found for this signature in database
GPG Key ID: 48B67583BDDD4474

View File

@ -68,6 +68,11 @@ python3.pkgs.buildPythonApplication rec {
] ++ lib.optionals stdenv.isDarwin [
# https://github.com/NixOS/nixpkgs/issues/209358
"test_scripts_no_environment"
# This test assumes it is running on macOS with a system shell on the PATH.
# It is not possible to run it in a nix build using a /nix/store shell.
# See https://github.com/pypa/hatch/pull/709 for the relevant code.
"test_populate_default_popen_kwargs_executable"
];
meta = with lib; {