-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
libgee, libgda, zile: fix compiling with clang #341109
libgee, libgda, zile: fix compiling with clang #341109
Conversation
-Wno-incompatible-function-pointer-types was removed from vala's setup hook in b2d88d4. Without it, we're unable to compile libgee[1], libgda, and zile on Darwin. The libgda and zile failures were masked by libgee failing. [1]: https://hydra.nixos.org/build/271035513
967e7a2
to
77b1ada
Compare
Is it possible it is using old generated C files from the tarball? Would Edit: Looks like at least libgda does use it so 😿 Edit: Ah, the file is not generated, we would need to backport https://gitlab.gnome.org/GNOME/libgda/-/commit/7abf8273674b42d9efc054f308c7e7a31120d03c |
good question! i tried blindly applying this to libgee + zile too, but it didn't resolve the issue. seems like this is an open issue in vala? https://gitlab.gnome.org/GNOME/vala/-/issues/1413 ignoring the error seems to be the recommendation for now. |
This broke the eval on |
trofi: What about zile which needs the same change? |
Great catch! Not sure how I missed it. Proposed the fix as: |
Description of changes
-Wno-incompatible-function-pointer-types
was removed from vala's setup hook in b2d88d4. Without it, we're unable to compile libgee1, ligda and zile on Darwin. The libgda and zile failures were masked by libgee failing.Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.
Footnotes
https://hydra.nixos.org/build/271035513 ↩