nixpkgs/pkgs/applications/window-managers/awesome
Uli Schlachter ba12a867f7 awesome: Remove $LD_LIBRARY_PATH handling
I have no idea why gobjectIntrospection even was in here. The only
library in there, libgirepository-1.0.so, is not used by awesome. It is
only used by lgi.so and that means it should be found via its RPATH.

The Pango path is not needed in $LD_LIBRARY_PATH ever since
gobjectIntrospection started patching .typelib files with absolute
paths. Relevant commits are 36bef2b26731a9 from 2014
("gobject-introspection: refer to shlibs with absolute paths in
typelibs") and c420de6b05710 from 2016 ("gobject-introspection: Fix
patching shared objects").

The above patches did not work for cairo, because cairo's typelib is a
bit "special". However, this was fixed by e44038bccab0cae some days ago
("gobjectIntrospection: use absolute path for cairo GIR").

Thus, setting $GI_TYPELIB_PATH is enough so that all needed libraries
are found.

Fixes: https://github.com/NixOS/nixpkgs/issues/14164
Signed-off-by: Uli Schlachter <psychon@znc.in>
2018-01-25 16:46:12 +01:00
..
3.5.nix awesome: fix LUA_PATH/LUA_CPATH to lgi [now for version 3.5] 2017-12-10 15:23:55 +01:00
default.nix awesome: Remove $LD_LIBRARY_PATH handling 2018-01-25 16:46:12 +01:00