···68 ] ++ lib.optionals stdenv.isDarwin [
69 # https://github.com/NixOS/nixpkgs/issues/209358
70 "test_scripts_no_environment"
0000071 ];
7273 meta = with lib; {
···68 ] ++ lib.optionals stdenv.isDarwin [
69 # https://github.com/NixOS/nixpkgs/issues/209358
70 "test_scripts_no_environment"
71+72+ # This test assumes it is running on macOS with a system shell on the PATH.
73+ # It is not possible to run it in a nix build using a /nix/store shell.
74+ # See https://github.com/pypa/hatch/pull/709 for the relevant code.
75+ "test_populate_default_popen_kwargs_executable"
76 ];
7778 meta = with lib; {