Qutebrowser crashes on file dialog

I am having the same problem as described here:
https://github.com/NixOS/nixpkgs/issues/168484

Is there a solution other than the workaround given in the above link?

If not, how do I implement the work-around? I don’t know what to do with that writeShellScriptBin. And once I implement this work-around, how do I run qutebrowser?

Wherever you currently have pkgs.qutebrowser you use that expression in the workaround.

You should be able to start it then from a terminal using qutebrowser.

If you need a way to start it from a GUI or have other reasons for requiring a desktop file, things get a bit more complex.