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

Weird output when using with Cabal 1.22.x to process arithmoi #3

Closed
peti opened this issue Jan 5, 2015 · 5 comments
Closed

Weird output when using with Cabal 1.22.x to process arithmoi #3

peti opened this issue Jan 5, 2015 · 5 comments
Labels

Comments

@peti
Copy link
Member

peti commented Jan 5, 2015

The arithmoi Cabal file says:

library
    build-depends       : base >= 4 && < 5, array >= 0.3 && < 0.6, ghc-prim,
                          integer-gmp, containers >= 0.3 && < 0.6, random >= 1.0 && < 1.1,
                          mtl >= 2.0 && < 2.3

jailbreak-cabal transforms this to:

library
    build-depends:
        base -any,
        array -any,
        ghc-prim -any,
        integer-gmp -any,
        containers -any,
        random -any,
        mtl -any

    ...

    build-depends:
        base >=4 && <5,
        array >=0.3 && <0.6,
        ghc-prim -any,
        integer-gmp -any,
        containers >=0.3 && <0.6,
        random >=1.0 && <1.1,
        mtl >=2.0 && <2.3

Strangely enough, this issue seems to occur only with Cabal 1.22.x. In version 1.20.x we didn't have that problem.

@shlevy
Copy link
Member

shlevy commented Jan 9, 2015

This seems to be blocking jailbreaking for haskell-ng.packages.ghcHEAD

@shlevy
Copy link
Member

shlevy commented Jan 9, 2015

(working on a workaround where the jailbreak-cabal binary used for HEAD builds comes from 7.8.4)

@peti
Copy link
Member Author

peti commented Jan 9, 2015

Oh, I had the same idea. :-) I'll commit in a second if you don't beat me to it.

@shlevy
Copy link
Member

shlevy commented Jan 9, 2015

I got caught up in making makeOverridable work for functions so that I could call override on mkDerivation, you'll probably win 😀

peti added a commit to NixOS/nixpkgs that referenced this issue Jan 9, 2015
@peti
Copy link
Member Author

peti commented Jan 10, 2015

Reported in haskell/cabal#2343.

@peti peti closed this as completed in 6846c81 Jan 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants