zig icon indicating copy to clipboard operation
zig copied to clipboard

Add framework paths from NIX_CFLAGS_COMPILE

Open MarcoPolo opened this issue 3 years ago • 0 comments

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 avatar Nov 06 '22 19:11 MarcoPolo