-
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
Expand variable interpolations in build-env
#5352
Conversation
What would be the backward compatibility story with this change? Could we maybe detect that the package contains |
Hah, I was just preparing a long justification for why breaking backwards compatibility might be OK... but then I discovered that this is actually fixing a 1.2.2 -> 2.0 regression! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, missing api changelog & test
Expand variable interpolations in `build-env`
Expand variable interpolations in `build-env`
Variable interpolations (
%{lib}%
, etc.) are expanded insetenv
but weren't expanded inbuild-env
.I'd be willing to regard this as having been a bug, and don't expect that we'll find any instances of
build-env
being used where%{foo}%
was supposed to be treated as a literal string (with this PR, such strange usage should now be written%%{foo}%%
).