-
Notifications
You must be signed in to change notification settings - Fork 410
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
Substitute Install Paths? #1253
Comments
Not currently, dune doesn't know the value of these parameters. Related ticket: #1185 |
And this one as well: #680 |
Well |
I stubbled upon the same issue about a lack of |
@kit-ty-kate looking at the mirage-solo PR makes me wonder: shouldn't it be opam's job to extend the Regarding the original question, during the build we don't know the installation prefix, so we'd need to introduce a configure step to make that possible, which as @rgrinberg pointed out is a significant change. Perhaps we should add that one day though. On a related note, @bobot is working on a general solution to the problem of data needed at runtime: #3104. That seems worse looking at. |
@bobot can we close this? |
I think we can. @bobot can re-open if he disagrees. |
Is there a mechanism to substitute install paths (e.g.,
$prefix
) into a generated file during build?I expected to be able to accomplish this using a
rule
with likeBut
%{prefix}
(orbindir
,libdir
, etc) is not listed as a substituted variable in the documentation.The text was updated successfully, but these errors were encountered: