diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2008-06-04 09:59:33 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2008-06-04 09:59:33 +0000 |
commit | 9029c3b61f32fa61145689cf537ca9a552e1ba50 (patch) | |
tree | b25b7819d9da6c0b1a1ef071640ac41c3b24a468 /pkgs/tools/graphics | |
parent | dcf01e5925d82c8bf19b04f2afb99bc6d822d8ef (diff) | |
download | nixlib-9029c3b61f32fa61145689cf537ca9a552e1ba50.tar nixlib-9029c3b61f32fa61145689cf537ca9a552e1ba50.tar.gz nixlib-9029c3b61f32fa61145689cf537ca9a552e1ba50.tar.bz2 nixlib-9029c3b61f32fa61145689cf537ca9a552e1ba50.tar.lz nixlib-9029c3b61f32fa61145689cf537ca9a552e1ba50.tar.xz nixlib-9029c3b61f32fa61145689cf537ca9a552e1ba50.tar.zst nixlib-9029c3b61f32fa61145689cf537ca9a552e1ba50.zip |
* NVIDIA driver: set a RUNPATH on libGL.so and friends. This ensures
that applications that link against it don't need to have its dependencies (like libXext) in *their* RUNPATHs. * glxinfo: don't add /var/run/opengl-driver/lib to the RUNPATH. Instead LD_LIBRARY_PATH should be set to /var/run/opengl-driver/lib at runtime. This is much more pure, and it obviates the need for patchelfing all OpenGL applications. (TODO: remove patchelf hacks for other OpenGL programs as well.) svn path=/nixpkgs/branches/stdenv-updates/; revision=11972
Diffstat (limited to 'pkgs/tools/graphics')
-rw-r--r-- | pkgs/tools/graphics/glxinfo/default.nix | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/pkgs/tools/graphics/glxinfo/default.nix b/pkgs/tools/graphics/glxinfo/default.nix index 5bff7815eba3..0e2fa198a862 100644 --- a/pkgs/tools/graphics/glxinfo/default.nix +++ b/pkgs/tools/graphics/glxinfo/default.nix @@ -1,4 +1,4 @@ -{stdenv, fetchurl, x11, mesa, libXext}: +{stdenv, fetchurl, x11, mesa}: stdenv.mkDerivation { name = "glxinfo-6.5.2"; @@ -20,10 +20,4 @@ stdenv.mkDerivation { ensureDir $out/bin cp glxinfo glxgears $out/bin "; - - postFixup = " - for i in $out/bin/*; do - patchelf --set-rpath /var/run/opengl-driver/lib:${libXext}/lib:$(patchelf --print-rpath $i) $i - done - "; } |