-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Remove libs
from search path
#3593
Conversation
My idea was that for at least one versions both |
Ok, but I think we have to swap libs and lib in the search path then. Otherwise upgrading breaks. It did break for me at least on several repos. |
One build fails:
The other 3 builds are just fine. |
@@ -10,7 +10,7 @@ ADD . /opt/crystal-head | |||
|
|||
WORKDIR /opt/crystal-head | |||
ENV CRYSTAL_CONFIG_VERSION HEAD | |||
ENV CRYSTAL_CONFIG_PATH lib:libs:/opt/crystal-head/src:/opt/crystal-head/libs | |||
ENV CRYSTAL_CONFIG_PATH lib:/opt/crystal-head/src:/opt/crystal-head/libs |
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.
@asterite question, what is inside /opt/crystal-head/libs
? Perhaps that can be removed too?
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.
@luislavena CRYSTAL_CONFIG_PATH
is only used for Crystal::Config.path
.
I've removed the complete line CRYSTAL_CONFIG_PATH
and docker build .
still produces a valid crystal compiler.
I think we can remove the whole line.
This PR removes
libs
directory from the search path.#2788 should have removed
libs
, I guess, it only addedlib
./cc @ysbaddaden