diff --git a/patches.nix b/patches.nix index 1ef4945e..636c3c5a 100644 --- a/patches.nix +++ b/patches.nix @@ -303,4 +303,16 @@ in [ buildInputs = (m.buildInputs or []) ++ [pkgs.openssl]; }; } + + # Try adding `CoreFoundation` to `nativeBuildInputs` to address recent CI error. + { + condition = m: pkgs.lib.hasInfix "darwin" pkgs.system; + patch = m: { + nativeBuildInputs = + (m.nativeBuildInputs or []) + ++ [ + pkgs.darwin.apple_sdk.frameworks.CoreFoundation + ]; + }; + } ]