-
Notifications
You must be signed in to change notification settings - Fork 701
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
Custom setup breaks with ghcjs #4742
Comments
I think in both cases the ghcjs-provided |
I tried to force it to use a newer (But it would not help anyways, if I patch |
The problem is not specific to
|
Try using |
Not specific to
|
I might be hitting the problem described in commercialhaskell/stack#1496 |
@nomeata Does compiling the setup script with 2.0 help? |
Nope. same problem, reproduced with:
|
What is the output of |
|
Does |
|
According to |
/cc @luite |
Ah, I see something. With
So somehow instead of the version number the |
|
Full output:
|
Fun fact:
and indeed, it seems that
|
Looks like the same happens when |
Ok, it is definitely a problem with ghcjs and/or node:
|
I guess that this ticket can be closed then since this is not a bug in Cabal? |
* ghcjs/shims@85395dc fixes Cabal build. This seems related to haskell/cabal#4742
While having a recent
ghcjs
based on GHC-8.0 in my$PATH
I tried to build a package that depends ongc
(as an example for a package with a custom setup file) with the following cabal file:and I got this:
This happens both with
cabal
being 1.24 and today’s HEAD (2.1).What can I do about this (without patching
gc
or so)?The text was updated successfully, but these errors were encountered: