3
0
Fork 0
forked from mirrors/nixpkgs

nvidia_x11: reintroduce libXv for nvidia-settings

It was dropped in 77986803a6.
This commit is contained in:
Vladimír Čunát 2015-02-21 17:25:43 +01:00
parent 382f175f10
commit 7bf2021349
2 changed files with 2 additions and 1 deletions

View file

@ -75,7 +75,7 @@ installPhase() {
for i in nvidia-settings nvidia-smi; do
cp $i $out/bin/$i
patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
--set-rpath $out/lib:$glPath $out/bin/$i
--set-rpath $out/lib:$programPath:$glPath $out/bin/$i
done
patchelf --set-rpath $glPath:$gtk3Path $out/lib/libnvidia-gtk3.so.*.*

View file

@ -49,6 +49,7 @@ stdenv.mkDerivation {
# we don't support the gtk2 version
gtk3Path = optionalString (!libsOnly) (makeLibraryPath
[ gtk3 atk pango glib gdk_pixbuf cairo ] );
programPath = makeLibraryPath [ xlibs.libXv ];
buildInputs = [ perl ];