-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Cabal omits true branch in conditional #9
Comments
This also breaks |
@abbradar Thank you for submitting the issue upstream. |
Interestingly enough, the problem doesn't seem to occur when building |
One possible workaround for now can be using |
It's possible. It would just trigger a lot of re-builds, I suppose, so it's kind-of expensive. |
Yeah, already noticed that. I have come with a rather hacky solution instead: abbradar/nixpkgs@c877e29 . Do we want this ugly thing mainlined or rather wait till the proper fix? OTOH this allows us to build affected packages. |
NM, I looked at how |
I pushed peti/nixpkgs@daeefd2 to have test builds run at http://hydra.cryp.to/jobset/nixpkgs/haskell-updates. |
I've edited the |
Well, the version built with Cabal 1.18.x causes build failures, too: http://hydra.cryp.to/eval/457274#tabs-still-fail. The |
Ouch! Does using Cabal 1.20.x fix this? If not, I can investigate! (fix: this should have been an exclamation) Another fix: Tested on |
This change mitigates the effects of NixOS/jailbreak-cabal#9.
OK, building |
Contrary to what commit haskell/cabal@e6bff69 says, this issue does not appear to be fixed in |
NixOS/jailbreak-cabal#9 forced us to use a binary version of jailbreak-cabal built with ghc 7.8.x in the 7.10.x package set, which is awkward. Upstream fixed the underlying issue in haskell/cabal#2598, but unfortunately that fix didn't make it into the Cabal 1.22.4.0 release shipped by ghc 7.10.2. Now, we work around that issue by building jailbreak-cabal with an unreleased development snapshot of Cabal in the ghc 7.10.x package set. Closes #8901.
Pandoc's cabal file gets mangled by jailbreak-cabal; this:
is turned into this:
Note: this is using jailbreak-cabal compiled with GHC 7.10.
(for reference: http://hackage.haskell.org/package/pandoc-1.13.2/revision/2.cabal)
The text was updated successfully, but these errors were encountered: