Skip to content

Add framework paths from NIX_CFLAGS_COMPILE - #13467

Merged
Vexu merged 1 commit into
ziglang:masterfrom
MarcoPolo:marco/add-nix-framework-paths
Jan 19, 2023
Merged

Add framework paths from NIX_CFLAGS_COMPILE#13467
Vexu merged 1 commit into
ziglang:masterfrom
MarcoPolo:marco/add-nix-framework-paths

Conversation

@MarcoPolo

Copy link
Copy Markdown
Contributor

On MacOS, if we're using Nix to supply the frameworks Zig should add the frameworks paths.

Instead we currently emit warning logs (which are a bit noisy). And then potentially fail to build. Users can workaround this by manually parsing the NIX_CFLAGS_COMPILE and adding framework paths manually (basically what this PR does), but it would be great if we did the correct thing here.

@MarcoPolo
MarcoPolo force-pushed the marco/add-nix-framework-paths branch from d52de57 to e6defd8 Compare November 6, 2022 20:45
@andrewrk
andrewrk force-pushed the marco/add-nix-framework-paths branch from e6defd8 to 9d6d705 Compare December 12, 2022 02:45
@Vexu
Vexu merged commit d87a58d into ziglang:master Jan 19, 2023
rrbutani added a commit to rrbutani/rosettaboy that referenced this pull request Feb 8, 2023
This is needed for the nix package to build on macOS.

Also bumps the zig deps and has `build.zig` changes to match
ziglang/zig#14498 and ziglang/zig#14538.
@rrbutani rrbutani mentioned this pull request Feb 8, 2023
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants