@@ -1,4 +1,4 @@
1−{ stdenv, buildPackages, ghc, lib, pkgconfig, haskellLib, makeConfigFiles, ghcForComponent, hsPkgs }:
1+{ stdenv, buildPackages, ghc, lib, pkgconfig, gobject-introspection, haskellLib, makeConfigFiles, ghcForComponent, hsPkgs }:
22
33{ componentId
44, component
@@ -132,7 +132,10 @@ stdenv.mkDerivation ({
132132
133133 buildInputs = component.libs
134134 ++ component.frameworks
135− ++ builtins.concatLists component.pkgconfig;
135+ ++ builtins.concatLists component.pkgconfig
136+ # Note: This is a hack until we can fix properly. See:
137+ # https://github.com/haskell-gi/haskell-gi/issues/226
138+ ++ lib.optional (lib.strings.hasPrefix "gi-" fullName) gobject-introspection;
136139
137140 nativeBuildInputs =
138141 [shellWrappers buildPackages.removeReferencesTo]