···1818 popd
1919 '';
20202121+ patches = [
2222+ # Unlike libtool, vanilla Meson does not pass any information
2323+ # about the path library will be installed to to g-ir-scanner,
2424+ # breaking the GIR when path other than ${!outputLib}/lib is used.
2525+ # We patch Meson to add a --fallback-library-path argument with
2626+ # library install_dir to g-ir-scanner.
2727+ ./gir-fallback-path.patch
2828+ ];
2929+2130 postPatch = ''
2231 sed -i -e 's|e.fix_rpath(install_rpath)||' mesonbuild/scripts/meson_install.py
2332 '';