Skip to content

Add framework paths from NIX_CFLAGS_COMPILE #13467

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 19, 2023

Conversation

MarcoPolo
Copy link
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
jbboehr pushed a commit to jbboehr/rosettaboy that referenced this pull request Feb 9, 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.
jbboehr pushed a commit to jbboehr/rosettaboy that referenced this pull request Feb 10, 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.
jbboehr pushed a commit to jbboehr/rosettaboy that referenced this pull request Feb 10, 2023
This is needed for the nix package to build on macOS.

* bump the zig deps and has `build.zig` changes to match ziglang/zig#14498 and ziglang/zig#14538.
* only change preInstall on darwin
* drop the `SDL2` lowercase fix - doesn't appear to be necessary anymore.
* upgrade zig in github actions and pass in nim/zig versions (@jbboehr)
jbboehr pushed a commit to jbboehr/rosettaboy that referenced this pull request Feb 10, 2023
This is needed for the nix package to build on macOS.

* bump the zig deps and has `build.zig` changes to match ziglang/zig#14498 and ziglang/zig#14538.
* only change preInstall on darwin
* drop the `SDL2` lowercase fix - doesn't appear to be necessary anymore.
* upgrade zig in github actions and pass in nim/zig versions (@jbboehr)
jbboehr pushed a commit to jbboehr/rosettaboy that referenced this pull request Feb 10, 2023
This is needed for the nix package to build on macOS.

* bump the zig deps and has `build.zig` changes to match ziglang/zig#14498 and ziglang/zig#14538.
* only change preInstall on darwin
* drop the `SDL2` lowercase fix - doesn't appear to be necessary anymore.
* upgrade zig in github actions and pass in nim/zig versions (@jbboehr)
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