about summary refs log tree commit diff
path: root/pkgs/build-support/add-opengl-runpath
AgeCommit message (Collapse)AuthorFilesLines
2019-05-23addOpenGLRunpath: only apply to ELF filesDmitry Kalinkin1-0/+1
Fixes libglvnd build
2019-05-22addOpenGLRunpath: Add new hook for setting RUNPATH.Nikolay Amiantov2-0/+40
This hook allows to add NixOS driver libraries path to given ELF objects' RUNPATH. We use it instead of settings RUNPATH manually everywhere. It must be invoked in postFixup so that RUNPATH stripping does not remove the path. It puts the path first instead of last so that system-wide drivers are always preferred.