Following the developer documentation for setting up Haskell, Hoogle gets installed in the read-only Nix store. This isn’t great, since I was hoping to use it for local projects too, and am unable to write to the database. I followed the documentation here:
The error is as follows:
hoogle generate --local=/home/....my_project/ Starting generate hoogle: /nix/store/lkrvb50ain343jdkl17srmzzvjr0gcbm-hoogle-local-0.1/share/doc/hoogle/default.hoo: openBinaryFile: permission denied (Read-only file system)
I tried it with sudo also, just to be sure. I had a better working configuration before I re-did the install per the manual.
Anyone have ideas as to how I can fix this? The install takes several hours and it failed several times before I got the incantation just right.