diff options
author | Alyssa Ross <hi@alyssa.is> | 2024-05-08 09:49:59 +0200 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2024-05-08 09:53:14 +0200 |
commit | daa829287894273879799a383ed4dc373c6111b0 (patch) | |
tree | 1b13842dfd16ba9d16b28837259bb2400b63cff1 /src/mm-log-helpers.c | |
parent | 218d6d2c5879e97d5f564aff8fa2546212decdfa (diff) |
build: prepend to LD_LIBRARY_PATH and GI_TYPELIB_PATH
In Nixpkgs packages are installed in separate prefixes.
Starting from GLib / gobject-introspection 2.80, GLib introspection data
is provided by GLib itself instead of gobject-introspection. This causes
tests failures in Nixpkgs because the GI_TYPELIB_PATH set by the build
environment was overridden, leaving it unable to find GLib:
ImportError: cannot import name GLib, introspection typelib not found
Only GI_TYPELIB_PATH needs to be preserved in our case, but I've made
the same change for LD_LIBRARY_PATH, other environments might rely on
that in a similar way.
Diffstat (limited to 'src/mm-log-helpers.c')
0 files changed, 0 insertions, 0 deletions