···11+--- ./giscanner/utils.py.orig 2014-08-14 22:05:05.055334080 +0200
22++++ ./giscanner/utils.py 2014-08-14 22:05:24.687497334 +0200
33+@@ -110,17 +110,11 @@
44+ if dlname is None:
55+ return None
66+77+- # Darwin uses absolute paths where possible; since the libtool files never
88+- # contain absolute paths, use the libdir field
99+- if platform.system() == 'Darwin':
1010+- dlbasename = os.path.basename(dlname)
1111+- libdir = _extract_libdir_field(la_file)
1212+- if libdir is None:
1313+- return dlbasename
1414+- return libdir + '/' + dlbasename
1515+- # From the comments in extract_libtool(), older libtools had
1616+- # a path rather than the raw dlname
1717+- return os.path.basename(dlname)
1818++ dlbasename = os.path.basename(dlname)
1919++ libdir = _extract_libdir_field(la_file)
2020++ if libdir is None:
2121++ return dlbasename
2222++ return libdir + '/' + dlbasename
2323+2424+2525+ def extract_libtool(la_file):
···29293030 setupHook = ./setup-hook.sh;
31313232+ patches = [ ./absolute_shlib_path.patch ];
3333+3234 meta = with stdenv.lib; {
3335 description = "A middleware layer between C libraries and language bindings";
3436 homepage = http://live.gnome.org/GObjectIntrospection;