-
Notifications
You must be signed in to change notification settings - Fork 247
Switch from cabal 3.2 to 3.4 #1058
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
Conversation
Does nix-tools need a version bounds relaxation too? I don't know what happens if we have a |
Yes, we should update that too.
I think it would be fine as long as the |
bors try |
bors try- |
bors try |
tryBuild failed: |
bors try |
tryTimed out. |
bors try |
@@ -22,6 +22,9 @@ in { haskell-nix = prev.haskell-nix // { | |||
# Version of of cabal-install in hackage is broken for GHC 8.10.1 | |||
(lib.optionalAttrs (version == "3.2.0.0") { | |||
packages.cabal-install.src = final.haskell-nix.sources.cabal-32 + "/cabal-install"; | |||
}) | |||
(lib.optionalAttrs (builtins.compareVersions version "3.0.0.0" >= 0 | |||
&& builtins.compareVersions version "3.5" < 0) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don’t we have Greater than, ge, le, lt functions? I think that would make this a lot more readable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe I am just old shcool, but I think the strcmp
rule is ok. Always compare to 0 that way:
x op y
<=> x y op 0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Could maybe use a bit of readability improvement? See the online comment.
tryBuild succeeded: |
@hamishmack I don't really understand the infrastructure that well, but is it possible that something was missed here:
? When I depend on the |
No description provided.