anchor.diff:          substituteInPlace "$i" --replace /usr/NX/bin $out/bin
         done
       '';
  -  
  +
       postFixup = ''
         makeWrapper $out/bin/nxplayer.bin $out/bin/nxplayer --set NX_SYSTEM $out/NX
         makeWrapper $out/bin/nxclient.bin $out/bin/nxclient --set NX_SYSTEM $out/NX
  
positive.code:       # have a DT_NEEDED entry for it.
        patchelf --add-needed libpulse.so.0 $out/NX/lib/libnxcau.so
      '';
    
      dontBuild = true;
      dontStrip = true;
  
  
negative.code:           cp "$i"/* "$out/share/icons/hicolor/$(basename $i)/apps/"
          fi
        done
  
        mkdir $out/share/applications
        cp share/applnk/player/xdg/*.desktop $out/share/applications/
        cp share/applnk/client/xdg-mime/*.desktop $out/share/applications/
  