forked from mirrors/nixpkgs
nvidia_x11: reintroduce libXv for nvidia-settings
It was dropped in 77986803a6
.
This commit is contained in:
parent
382f175f10
commit
7bf2021349
|
@ -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.*.*
|
||||
|
|
|
@ -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 ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue