I use comma through nix-index-database, using the NixOS module and programs.nix-index-database.comma.enable = true;.
Since quite some time ago, everytime I use comma, I get the following non-fatal error.
$ , hello
failed to initialize cache, disabling related functionality: bitcode error
Hello, world!
Comma can't save the package used so it keeps asking which one to use on every run.
I don't know what the conditions for reproducing the issue are, and I think it's not related to my configuration, but to non-deterministic aspects of my system. I believe the issue disappears on a re-installation of NixOS.