Skip to content

Commit

Permalink
Specify CoreFoundation framework as nativeBuildInput
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mitchmindtree committed Jun 1, 2023
1 parent 4cbf9a6 commit 025cd4a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions patches.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
];
};
}
]

0 comments on commit 025cd4a

Please sign in to comment.