-
Notifications
You must be signed in to change notification settings - Fork 231
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
exclude_apps fails if the app isn't present #860
Comments
I'm running Rebar3 3.14.4+build.4956.ref28f7ab85 on Erlang/OTP 24 Erts 11.1.5 , and cannot reproduce this. |
Thanks for looking at this, that's strange! Here's a Dockerfile which should do the trick
(edit: included the rest of hackney's deps in the override) |
Oh if hackney has a direct dependency on idna and requires it to boot, the error is not from excluding the app, it's from not being able to fulfill the requirements for hackney when the app is excluded. This isn't a bug, it means you shouldn't be able to exclude the app because it won't boot without it. I figure that was the problem with the .app.src file which I hadn't done. |
|
Yes, without the |
Relx isn't aware of overrides, so my guess is that the app needs to be found for another, earlier phase of relx, for relx to then be able to drop it as an exclude? |
Repro:
rebar3 new release test
hackney
as dependency inapps/test/src/test.app.src
Change rebar.config to:
Without the
override
, everything works as expected.(tested on rebar3 3.14.4)
The text was updated successfully, but these errors were encountered: