about summary refs log tree commit diff
path: root/pkgs/development/tools/hatch
diff options
context:
space:
mode:
authorTheodore Ni <3806110+tjni@users.noreply.github.com>2023-08-05 14:28:19 -0700
committerTheodore Ni <3806110+tjni@users.noreply.github.com>2023-08-05 14:28:19 -0700
commit179285c227d729bfc5bcbb4d68280521467ed176 (patch)
treea57ca9781a8ee36b148c6f8e1d18b6f910c81eb9 /pkgs/development/tools/hatch
parent04f88809c1c6dfbab4fab771822be6fa05bd8a35 (diff)
hatch: disable impure test on macOS
Diffstat (limited to 'pkgs/development/tools/hatch')
-rw-r--r--pkgs/development/tools/hatch/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/tools/hatch/default.nix b/pkgs/development/tools/hatch/default.nix
index 0fcdb8ad14059..c145504015c25 100644
--- a/pkgs/development/tools/hatch/default.nix
+++ b/pkgs/development/tools/hatch/default.nix
@@ -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; {