Installing an old version of Firefox

Hi,

I was wondering how I can install an old version of firefox (60 ESR).

Installing with nix-env --install firefox -f https://github.com/NixOS/nixpkgs-channels/archive/ba210568a9193eb819711e174d6ac2843a89c088.tar.gz which I found via Nix Package Versions and then using it with nix-shell -p firefox -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/ba210568a9193eb819711e174d6ac2843a89c088.tar.gz unfortunately results in

/nix/store/pr73kx0cdszbv9iw49g8dzi0nqxfjbx2-glibc-2.27/lib/libc.so.6: version `GLIBC_2.33' not found (required by /nix/store/70yy6yzxdasx9ilzsj04ywn3fvlp9wr4-libproxy-0.4.18/lib/libproxy.so.1)
Failed to load module: /nix/store/92kqrk5ky2abiv2yry0hfvkpbj25qpsh-glib-networking-2.76.0/lib/gio/modules/libgiolibproxy.so
/nix/store/pr73kx0cdszbv9iw49g8dzi0nqxfjbx2-glibc-2.27/lib/libc.so.6: version `GLIBC_2.33' not found (required by /nix/store/m09sbrllwr57vnr6qvz9yv396bxy6aba-gnutls-3.8.0/lib/libgnutls.so.30)
Failed to load module: /nix/store/92kqrk5ky2abiv2yry0hfvkpbj25qpsh-glib-networking-2.76.0/lib/gio/modules/libgiognutls.so
/nix/store/92kqrk5ky2abiv2yry0hfvkpbj25qpsh-glib-networking-2.76.0/lib/gio/modules/libgiognomeproxy.so: undefined symbol: g_task_set_name
Failed to load module: /nix/store/92kqrk5ky2abiv2yry0hfvkpbj25qpsh-glib-networking-2.76.0/lib/gio/modules/libgiognomeproxy.so
/nix/store/pr73kx0cdszbv9iw49g8dzi0nqxfjbx2-glibc-2.27/lib/libc.so.6: version `GLIBC_2.33' not found (required by /nix/store/mpj8a4kxysr7k264ask2sxra3m0c1119-gvfs-1.50.4/lib/gvfs/libgvfscommon.so)
Failed to load module: /nix/store/mpj8a4kxysr7k264ask2sxra3m0c1119-gvfs-1.50.4/lib/gio/modules/libgioremote-volume-monitor.so
/nix/store/pr73kx0cdszbv9iw49g8dzi0nqxfjbx2-glibc-2.27/lib/libc.so.6: version `GLIBC_2.33' not found (required by /nix/store/mpj8a4kxysr7k264ask2sxra3m0c1119-gvfs-1.50.4/lib/gio/modules/libgvfsdbus.so)
Failed to load module: /nix/store/mpj8a4kxysr7k264ask2sxra3m0c1119-gvfs-1.50.4/lib/gio/modules/libgvfsdbus.so

Any ideas what I could try?

You can try avoiding loading old glibc libraries by unsetting LD_LIBRAR_PATH or removing hardware acceleration. The most reliable way would be to start firefox in a container with older nix or use an older flatpak or similar.