I'm getting
Uncaught error: INTERNAL ERROR: Can't make directory foo
when trying to install my local library. I'm running idris2 --install foo.ipkg
in a directory
.
+-foo.ipkg
+-src
+-Util.idr
with file contents
package foo
version = "0.0.1"
sourcedir = "src"
modules = Util
and
module Util
I've been following these docs and I'm wondering whether this has something to do with write permissions and the $PREFIX
they mention. Setting PREFIX=<some_dir> idris2 --install foo.ipkg
didn't help.