mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
gobject-introspection: Ensure the giDiscoverSelf is run before gappsWrapperArgsHook
gappsWrapperArgsHook tries to collect GI_TYPELIB_PATH environment variable so if we want it to see the path giDiscoverSelf adds, we need to force the order.
This commit is contained in:
parent
7c399a4ee0
commit
8f7387f219
@ -18,7 +18,14 @@ giDiscoverSelf() {
|
||||
fi
|
||||
}
|
||||
|
||||
preFixupHooks+=(giDiscoverSelf)
|
||||
# gappsWrapperArgsHook expects GI_TYPELIB_PATH variable to be set by this.
|
||||
# Until we have dependency mechanism in generic builder, we need to use this ugly hack.
|
||||
if [[ " ${preFixupPhases:-} " =~ " gappsWrapperArgsHook " ]]; then
|
||||
preFixupPhases+=" "
|
||||
preFixupPhases="${preFixupPhases/ gappsWrapperArgsHook / giDiscoverSelf gappsWrapperArgsHook }"
|
||||
else
|
||||
preFixupPhases+=" giDiscoverSelf"
|
||||
fi
|
||||
|
||||
_multioutMoveGlibGir() {
|
||||
moveToOutput share/gir-1.0 "${!outputDev}"
|
||||
|
Loading…
Reference in New Issue
Block a user