-
Notifications
You must be signed in to change notification settings - Fork 78
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
Version bounds are too strict; broken with stackage; broken on NixOS; can be updated #679
Comments
Thanks for your report! I can see how our practices are causing some difficulty. I want to do what I can to help, but I want to just state for the record that we do not intend to make I also want to state for the record that supporting Stackage is not one of our goals. If I am curious to know what sort of Cabal file issues you're running into. |
That's hilarious that about aspell-pipe lol. I know there are a lot of people that don't have the goal to be on stackage and they have good reasons I do not fault them for and likely agree. :) I've... strongly disliked stack/stackage for longer than I've even known about NixOS and even more so now. :| Uh with cabal-edit it would introduce a symbol (^>=) some places that's only valid in cabal-version: >= 2.0 and there's not a lower bound on vector and then sometimes I'd have to change things afterwards or it wouldn't build because it'd reject dependencies. I don't know that it's so much an error in the cabal file as it is a bug in the tools. maybe some of both. idk
|
Okay, thanks. Looking at the list of messages, we could definitely add a lower bound for |
Hi, I (try to) maintain matterhorn for NixOS. I frequently have to jailbreak (tell cabal to kick rocks and use newer versions than the .cabal wants) matterhorn and a few of its dependencies to get it to build because nixpkgs defaults to the stackage version of packages and if something needs a version only on hackage or the cabal file is too strict it requires special treatment or else it will break (and maybe even then it might still break or not be fixable). Then at some point the versions get updated on stackage or in the projects and and then our patches aren't required so they get removed (or it could happen that the jailbreak doesn't work at all because api change means new version doesn't work) and then stackage updates and then they break again. 🙃 So overrides are supposed to have a comment to an issue/pr so we know why a patch is there and when it isn't necessary anymore (so here I am) comment explaining the issues Anyway I'm supposed to say that it would be easier if it was on stackage but I know some people don't like stack/stackage or have a reason they don't want to use it and I am one of those people so it's hard for me to feel good suggesting it to people. ahem. >.>
This is what happens with no jailbreak.
After I jailbreak it will build and run.
I played around with cabal-edit and cabal-bounds and I think a lot of the bounds have updates and can be updated to the newest. I had to tweak the cabal file before/after (depending on which tool I used) sometimes to make it work. There are a few things they don't like about the existing cabal file. I could maybe make a PR if that'd help but I don't know this project at all and I might change things more than you like. :)
I don't even use matterhorn heh. This is all @evils fault! 😝
tl;dr it would be really great if the version bounds were updated and kept updated so that it keeps working with newer api compatible version upgrades 😄 ❤️
The text was updated successfully, but these errors were encountered: