From 71cbf3b809b5a380d3434171ba5caabffdafb919 Mon Sep 17 00:00:00 2001 From: Artturin Date: Tue, 14 Jun 2022 23:30:55 +0300 Subject: [PATCH] gobject-introspection: use targetOffset to look for libraries for target fixes it finding the build and target gobject-introspection when it should only find the target gobject-introspection --- pkgs/development/libraries/gobject-introspection/setup-hook.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/gobject-introspection/setup-hook.sh b/pkgs/development/libraries/gobject-introspection/setup-hook.sh index 6bee47aeb09..50571a8f914 100644 --- a/pkgs/development/libraries/gobject-introspection/setup-hook.sh +++ b/pkgs/development/libraries/gobject-introspection/setup-hook.sh @@ -10,7 +10,7 @@ make_gobject_introspection_find_gir_files() { fi } -addEnvHooks "$hostOffset" make_gobject_introspection_find_gir_files +addEnvHooks "$targetOffset" make_gobject_introspection_find_gir_files giDiscoverSelf() { if [ -d "$prefix/lib/girepository-1.0" ]; then