From 025cd4a44601e3c0fd767149ded94ec8702fa1e7 Mon Sep 17 00:00:00 2001 From: mitchmindtree Date: Thu, 1 Jun 2023 12:20:43 +1000 Subject: [PATCH] Specify CoreFoundation framework as nativeBuildInput Currently, the frameworks are provided as build inputs - this is an attempt to provide the CoreFoundation framework as a nativeBuildInput to see if it addresses the current CI error tracked in #64. --- patches.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 + ]; + }; + } ]