Open shonfeder opened 11 months ago
Hi Shon, thanks for the report! I suppose we may be forgetting to set a variable somewhere and that ends up being some external directory (or maybe I'm paranoid about that ever since I read https://github.com/ocaml/opam/issues/3316). I can take a look.
I suppose a top-level dune project file would be a good thing. Wondering what @tahina-pro thinks.
I have been trying to install HEAD (or other more recent releases not yet available on opam) in an opam switch. Due to way the build and installation is currently defined, the installation and build fails.
To reproduce:
to get an error along these lines:
I have not yet tracked down exactly what is going on during the build/install causing the illegal file access a directory which it shouldn't have access to. But I have been able to come with an rough patch that moves the build and install just into dune, and resolves the problem: https://github.com/shonfeder/FStar/compare/master...pinnable
This patch allows pinning in a switch, e.g., via
This patch can (currently) be rebased on top of the trunk quite easily.