hatch: disable impure test on macOS

+5
+5
pkgs/development/tools/hatch/default.nix
··· 68 ] ++ lib.optionals stdenv.isDarwin [ 69 # https://github.com/NixOS/nixpkgs/issues/209358 70 "test_scripts_no_environment" 71 ]; 72 73 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 ]; 77 78 meta = with lib; {