From 2a75c01beeddc4c7f45ed4f55a16cd80567e32ff Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Wed, 14 May 2025 16:46:31 +0200 Subject: [PATCH] haskellPackages.system-fileio: disable test suite on darwin Can't be expected to work since macOS doesn't quite have a POSIX file system. Resolves https://github.com/NixOS/nixpkgs/issues/404867. --- pkgs/development/haskell-modules/configuration-darwin.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-darwin.nix b/pkgs/development/haskell-modules/configuration-darwin.nix index 1abc538fe663..0bacc6d1762b 100644 --- a/pkgs/development/haskell-modules/configuration-darwin.nix +++ b/pkgs/development/haskell-modules/configuration-darwin.nix @@ -117,6 +117,10 @@ self: super: # https://github.com/haskell-foundation/foundation/pull/412 foundation = dontCheck super.foundation; + # Test suite attempts to create illegal paths on HFS+ + # https://github.com/fpco/haskell-filesystem/issues/37 + system-fileio = dontCheck super.system-fileio; + llvm-hs = overrideCabal (oldAttrs: { # One test fails on darwin. doCheck = false;