Skip to content
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

newrepo and toolchains #378

Closed
kevinresol opened this issue Mar 29, 2017 · 3 comments
Closed

newrepo and toolchains #378

kevinresol opened this issue Mar 29, 2017 · 3 comments

Comments

@kevinresol
Copy link
Contributor

Build toolchains such has hxjava/hxcs does not work with the newrepo command.
Seems that they are still trying to find the toolchain from the global haxelib.

Example:

haxelib run hxcs hxcs_build.txt --haxe-version 3401 --feature-level 1
Error: Library hxcs is not installed
Error: Build failed
@kevinresol
Copy link
Contributor Author

kevinresol commented Mar 29, 2017

This is because the toolchain runs haxelib in the output folder, which does not contain the .haxelib folder. Making a symbolic link to the .haxelib folder works

@kaikoga
Copy link
Contributor

kaikoga commented Feb 24, 2019

Setting HAXELIB_PATH=`pwd`/.haxelib explicitly for haxelib run worked for me.

Maybe haxelib run could Sys.putEnv() out of the box to actually allow toolchains with newrepo.

@RealyUniqueName
Copy link
Member

This is fixed since #292.
Now haxelib looks for .haxelib directory recursively up to the root of file system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants