about summary refs log tree commit diff
path: root/pkgs/development/tools/hotdoc
diff options
context:
space:
mode:
authorLily Foster <lily@lily.flowers>2023-04-19 07:20:38 -0400
committerLily Foster <lily@lily.flowers>2023-04-19 07:20:38 -0400
commitc9130993d5ebba175774b97b5a25ebffdf82d96f (patch)
tree9c279b54c3a07b1837a35f9848049e8f76f9dcf6 /pkgs/development/tools/hotdoc
parentbf5b2a67bccd55572834c40a3c1c92530ab55673 (diff)
downloadnixlib-c9130993d5ebba175774b97b5a25ebffdf82d96f.tar
nixlib-c9130993d5ebba175774b97b5a25ebffdf82d96f.tar.gz
nixlib-c9130993d5ebba175774b97b5a25ebffdf82d96f.tar.bz2
nixlib-c9130993d5ebba175774b97b5a25ebffdf82d96f.tar.lz
nixlib-c9130993d5ebba175774b97b5a25ebffdf82d96f.tar.xz
nixlib-c9130993d5ebba175774b97b5a25ebffdf82d96f.tar.zst
nixlib-c9130993d5ebba175774b97b5a25ebffdf82d96f.zip
hotdoc: fix failing test on darwin
Diffstat (limited to 'pkgs/development/tools/hotdoc')
-rw-r--r--pkgs/development/tools/hotdoc/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/tools/hotdoc/default.nix b/pkgs/development/tools/hotdoc/default.nix
index 1b3f7d5f414d..50e2e43a67b3 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