This derivation uses wrapPython to wrap some "test scripts" that are shipped in the "test" output. As these test scripts require gobject-introspection, which doesn't cross-compile at all, let's only patch and ship them when not cross-compiling.