Fix gobject-introspection, and package gnome-builder and dependencies #44187
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation for this change
I wanted to package GNOME Builder, but to do so I first had to package two other gnome.org libraries, and then I had to fix what appears to be a bug in the Nix packaging for gobject-introspection. That bug is described in the commit message in the first commit in this series, so here I'll focus on details about the series as a whole.
I've based this series against staging, because gobject-introspection has a lot of reverse dependencies. Implicitly, I've tested 33 packages that depend on gobject-introspection that are in the transitive closure of GNOME Builder, and they work correctly with this commit. The existing packages apparently worked correctly without this fix as well, but GNOME Builder in particular installs its libide-1.0.so in an unusual path that
g-ir-scanner
couldn't previously parse fromldd
output.The three new packages don't need to be built against staging, but they aren't useful without the whole series, so I figure they should all get build-tested at once.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)