New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Local dune libraries are not accessible within a mirage project #1372
Comments
If anybody else is looking for a solution, the following hack works ok for me: https://github.com/kit-ty-kate/exn.st/blob/79bd396ef04ffbc22b8660d46286c7b39b54a13c/Dockerfile#L5 |
As stated on IRC, I think the way to achieve this is to run That's at least from my memory/experience, you may want to take a look at https://github.com/mirage/mirage-crypto/blob/main/.test-mirage.sh (executed by .e.g .cirrus.yml) that attempts to compile these unikernels as a CI job with the HEAD of mirage-crypto... |
I think it isn’t great if the expected toolchain ( It would be nice to have an extra |
agreed, related to #1371 |
Using mirage-skeleton's
hello
project as an example, adding a simple local dune library such as:then trying to declare it in mirage:
Will make opam-monorepo fail during
make depends
asmy_local_lib
is not an opam project available in opam-repository (and even if there was that would cause a conflict between the vendoredduniverse/my_local_lib
andmy_local_lib
)Could there be an additional parameter to
Mirage.package
to declare the package as a local library?The text was updated successfully, but these errors were encountered: