@@ -49,6 +49,11 @@ hooks =
49
49
, (" eventstore" , over (metaSection . platforms) (Set. filter (\ (Platform arch _) -> arch == X86_64 )))
50
50
, (" freenect < 1.2.1" , over configureFlags (Set. union (Set. fromList [" --extra-include-dirs=${pkgs.freenect}/include/libfreenect" , " --extra-lib-dirs=${pkgs.freenect}/lib" ])))
51
51
, (" gf" , set phaseOverrides gfPhaseOverrides . set doCheck False )
52
+ , (" gi-cairo" , giPhaseOverrides) -- https://github.com/haskell-gi/haskell-gi/issues/36
53
+ , (" gi-gio" , giPhaseOverrides) -- https://github.com/haskell-gi/haskell-gi/issues/36
54
+ , (" gi-glib" , giPhaseOverrides) -- https://github.com/haskell-gi/haskell-gi/issues/36
55
+ , (" gi-gobject" , giPhaseOverrides) -- https://github.com/haskell-gi/haskell-gi/issues/36
56
+ , (" gi-pango" , giPhaseOverrides) -- https://github.com/haskell-gi/haskell-gi/issues/36
52
57
, (" gio" , set (libraryDepends . pkgconfig . contains " system-glib = pkgs.glib" ) True )
53
58
, (" git-annex" , gitAnnexHook)
54
59
, (" github-backup" , set (executableDepends . tool . contains (pkg " git" )) True )
@@ -238,6 +243,11 @@ stackOverrides = unlines
238
243
, " '';"
239
244
]
240
245
246
+ giPhaseOverrides :: Derivation -> Derivation
247
+ giPhaseOverrides
248
+ = set phaseOverrides " preConfigure = \" export HASKELL_GI_GIR_SEARCH_PATH=${gobjectIntrospection.dev}/share/gir-1.0\" ;"
249
+ . set (libraryDepends . pkgconfig . contains (pkg " gobjectIntrospection" )) True
250
+
241
251
{-
242
252
postProcess' :: Derivation -> Derivation
243
253
postProcess' deriv@(MkDerivation {..})
0 commit comments