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
gobject-introspection: Fix macos shared lib paths #46310
gobject-introspection: Fix macos shared lib paths #46310
Conversation
Uses patch Nirbheek Chauhan's patch from this issue upstream issue: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/222 Fixes NixOS#40599
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.
Can't submit a PR because the code has changed and seems to be overall not working at all
https://gitlab.gnome.org/GNOME/gobject-introspection/issues/222#note_302924
Also relevant #45950, which updates gobject-introspection. |
@jtojnar I presume that is in reference to the upstream git repo for gobject-introspection.
I have sent PR #46312 to to update the gnome-3.30 branch. Should we close this PR in favour of that one? Will gnome-3.30 be merged soon? |
Will this fix https://hydra.nixos.org/build/82003202? |
Yes |
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.
Looks good to me! Make sure it goes into staging though.
@matthewbauer @hamishmack @jtojnar The |
It would be nice to have some tests, otherwise most of us really cannot ensure it works. |
@jtojnar What sort of tests are you thinking of? I would think that if the I cherry-picked the change from this PR to the top of current (However, now I am having trouble with #41340. I don't think it is related to this patch.) |
This applies the proposed upstream patch (described in https://gitlab.gnome.org/GNOME/gobject-introspection/issues/222) before applying the current nixpkgs patches (which had to be updated slightly to apply on top of the upsteam patch).
I tested this fix by building
haskellPackages.gi-atk
andhaskellPackages.gi-gdkpixbuf
build on macos (both of which had were broken by #40599). I also checked the@rpath
was gone in:Things done:
nix-build --option build-use-chroot true
or nix.useChroot on NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)More
Fixes issue #
cc @
Please note, that points are not mandatory, but rather desired.