gobjectIntrospection: test our own patches

We patch gobject-introspection somewhat heavily, so add some unit tests that
will catch potential errors when we're eg. updating the patches.

There's two tests:

- Basic test for absolute nix store paths (testing absolute_shlib_path.patch)
- Test for macos `@rpath` sanitizing, including
  fallback_libpath (macos-shared-library.patch)
This commit is contained in:
Tor Hedin Brønner
2018-11-30 21:35:30 +01:00
committed by Jan Tojnar
parent 3a3afc739f
commit 338b3fd11d
2 changed files with 54 additions and 0 deletions
@@ -41,6 +41,10 @@ stdenv.mkDerivation rec {
patches = [
./macos-shared-library.patch
(substituteAll {
src = ./test_shlibs.patch;
inherit nixStoreDir;
})
(substituteAll {
src = ./absolute_shlib_path.patch;
inherit nixStoreDir;