mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
* Work around a bizarre bug that causes nvidia-settings to be able to
find libXrandr when invoked as "nvidia-settings", but not when invoked by absolute path (e.g. "/var/run/current-system/sw/bin/nvidia-settings"). Adding it to libGL's RUNPATH fixes this. Strangely, libGL doesn't even contain a reference to libXrandr. svn path=/nixpkgs/trunk/; revision=15971
This commit is contained in:
parent
b7032e7fc4
commit
49d141ed01
@ -28,13 +28,13 @@ stdenv.mkDerivation {
|
||||
|
||||
dontStrip = true;
|
||||
|
||||
glPath = stdenv.lib.makeLibraryPath [xlibs.libXext xlibs.libX11];
|
||||
glPath = stdenv.lib.makeLibraryPath [xlibs.libXext xlibs.libX11 xlibs.libXrandr];
|
||||
|
||||
cudaPath = stdenv.lib.makeLibraryPath [zlib stdenv.gcc.gcc];
|
||||
|
||||
programPath = stdenv.lib.makeLibraryPath [
|
||||
gtkLibs.gtk gtkLibs.atk gtkLibs.pango gtkLibs.glib
|
||||
xlibs.libXv xlibs.libXrandr
|
||||
xlibs.libXv
|
||||
];
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user