@@ -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 }:
3{ componentId
3{ componentId
@@ -132,7 +132,10 @@ stdenv.mkDerivation ({
133 buildInputs = component.libs
133 buildInputs = component.libs
134 ++ component.frameworks
134 ++ 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;
137 nativeBuildInputs =
140 nativeBuildInputs =
138 [shellWrappers buildPackages.removeReferencesTo]
141 [shellWrappers buildPackages.removeReferencesTo]