anchor.diff:      ''}
     '';
   
  +  binaryName = if withGtk3 then ".nvidia-settings-wrapped" else "nvidia-settings";
  +
     postFixup = ''
  -    patchelf --set-rpath "$(patchelf --print-rpath $out/bin/nvidia-settings):$out/lib" \
  -      $out/bin/nvidia-settings
  +    patchelf --set-rpath "$(patchelf --print-rpath $out/bin/$binaryName):$out/lib" \
  +      $out/bin/$binaryName
     '';
   
     meta = with stdenv.lib; {
  
positive.code: 
    nativeBuildInputs = [ pkgconfig m4 ];
  
    buildInputs = [ jansson gtk2 gtk3 libXv libXrandr libvdpau nvidia_x11 ];
  
    NIX_LDFLAGS = [ "-lvdpau" "-lXrandr" "-lXv" "-lnvidia-ml" ];
  
  
negative.code: nvidia_x11: sha256:
  
  { stdenv, lib, fetchurl, pkgconfig, m4, jansson, gtk2, gtk3, libXv, libXrandr, libvdpau
  , librsvg, wrapGAppsHook
  , withGtk2 ? false, withGtk3 ? true
  }:
  
  