From c9130993d5ebba175774b97b5a25ebffdf82d96f Mon Sep 17 00:00:00 2001 From: Lily Foster Date: Wed, 19 Apr 2023 07:20:38 -0400 Subject: [PATCH] hotdoc: fix failing test on darwin --- pkgs/development/tools/hotdoc/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/tools/hotdoc/default.nix b/pkgs/development/tools/hotdoc/default.nix index 1b3f7d5f414..50e2e43a67b 100644 --- a/pkgs/development/tools/hotdoc/default.nix +++ b/pkgs/development/tools/hotdoc/default.nix @@ -1,4 +1,5 @@ { lib +, stdenv , buildPythonApplication , fetchPypi , pytestCheckHook @@ -80,6 +81,9 @@ buildPythonApplication rec { disabledTests = [ # Test does not correctly handle path normalization for test comparison "test_cli_overrides" + ] ++ lib.optionals stdenv.isDarwin [ + # Test does not correctly handle absolute /home paths on Darwin (even fake ones) + "test_index" ]; # Hardcode libclang paths