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
mesa wayland: Fix/simplify cross #89036
mesa wayland: Fix/simplify cross #89036
Conversation
Env var will work fine.
Now that we have a pkg-config wrapper, we can get build-time deps via pkg-config.
LGTM, will try it out in a sec. |
fcd3247
to
62e6d73
Compare
@@ -73,6 +73,12 @@ stdenv.mkDerivation { | |||
}) | |||
]; | |||
|
|||
postPatch = '' | |||
substituteInPlace meson.build --replace \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doesn't meson know of two pkg-config versions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Meson itself does, but for some reason this is using a generic find-program that doesn't know about the program it's looking for.
Can confirm that this has the intended effect and mesa now does in fact properly cross-compile. |
Motivation for this change
Fix #88961
CC @nagisa
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)