-
Notifications
You must be signed in to change notification settings - Fork 358
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
Variable expansion in env fields on Windows #5602
Comments
Duplicate of #4690? |
@AltGr and I discussed that at the meeting and we can’t really find a totally satisfying solution that doesn’t involve changing the opam syntax. The best we could find would be to automatically change
Another solution i just thought of after the meeting, would be to use a builtin extra
This way the rewriting is made explicit ( Overall discussion also related to #2927 |
Hm the additional field feels slightly clunky, but has the good point of being completely explicit and allowing a reasonable workaround to unblock this. We might consider making it |
This seems like a good reason to bump |
We should also add a lint that raise a warning if an env variable in |
related #2927 |
We can’t do that because opam 2.0 and 2.1 don’t support having opam files with unsupported versions (#5631), and doing a full repository transition like it was done for the transition from opam 1.2 to opam 2.0 requires tools, resources and time we do not have. |
|
If we take the example of pkg-config, there is
On
cmd
,opam env
givesopam should handle present separators in opam files?
The text was updated successfully, but these errors were encountered: