-
Notifications
You must be signed in to change notification settings - Fork 145
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
etlas install <package>
fails inside a project dir if <package> is a project dependency
#920
Comments
Hi, I've tried the same command inside a project in windows with a just downloaded etlas and i cant reproduce
However it can't finalize the installation cause symlinking it is not supported in windows. |
Hi @jneira, @rahulmutt. Yes, I did use Perhaps etlas has the non-patched
|
One way to verify is to check Also, can you attach the full solver trace? |
Yes, the patch is listed in
This ties Turtle to the patched version |
@joshsh This is strange - the solver trace has no mention of |
I did get past the issue, although it was by using gradle instead of etlas (directly). If I run |
Mmm, i wonder what difference between the windows executable and the mac os could cause different results. |
@jneira yes, interestingly, The
|
@jneira I have not checked, but mostly it'll be the same. Windows is a known problem because of lack of symlinking. The alternative is to make a copy of the entire jar file to the destination and create a batch script like we do already. @joshsh Yes, |
@rahulmutt sorry, but i wanted to refer to the |
Ok, i've reproduced the error in windows (it was easy in fact and i thought i had tested this case but something went wrong 🤔 ):
Removing pandoc from dependencies makes the command works again. |
etlas install <package>
fails inside a project dir if <package> is a project dependency
|
I am trying to install the patch for Pandoc 2.5, per instructions here.
The
etlas install
step fails as follows:However,
pandoc
is in fact listed underlibrary/build-depends
in the project.cabal, and is the reason thatetlas build
fails as follows:In
./build/eta-freeze/dist/cache/solver-trace
we can see thatunix
is a dependency ofpandoc
, which is a dependency of the project we are trying to build.Your Environment
etlas 1.5.0.0, manually installed this morning per the installation guide. This is on Mac OS X 10.14.1.
The text was updated successfully, but these errors were encountered: