```
with import <nixpkgs> {};

stdenv.mkDerivation rec {
  name = "cyberfox-52.3.0";
  src = fetchurl {
    url = "https://sourceforge.net/projects/cyberfox/files/Zipped%20Format/Cyberfox-52.3.0.en-US.linux-x86_64.tar.bz2";
    sha256 = "98694e532b260f2de2a113c568a8ed9af34e39d1a9c0f28456afe0921876ecb7";
  };
	dontBuild = true;
	installTargets = "install-bin";
	installPhase = "
		patchelf --set-interpreter ${stdenv.cc.libc}/lib/ld-linux-x86-64.so.2 cyberfox
		patchelf --set-rpath $(pwd):${stdenv.cc.libc}/lib:${stdenv.cc.cc.lib}/lib:${gdk_pixbuf}/lib:${pango.out}/lib:${gtk2}/lib:${xlibs.libX11}/lib:${xlibs.libXext}/lib:${glib}/lib:${xorg.libSM}/lib:${xlibs.libXinerama}/lib:${gnome3.gtk}/lib cyberfox
		mkdir -p $out
		mv * $out
	";
}
```

Maybe the issue is in the .nix then?