Skip to content

Commit 0b99e87

Browse files
cabal2nix: add upper bound on Cabal
cabal2nix often breaks on Cabal updates, so it seems sensible to add an upper bound (which we can always relax via revisions). This seems like a better approach going forward compared to going back and adding the constraint.
1 parent d0bb887 commit 0b99e87

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cabal2nix/cabal2nix.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ library
5252
build-depends: base > 4.11 && <5
5353
-- When changing the Cabal version, ensure that it builds
5454
-- with all installation methods mentioned in the README!
55-
, Cabal >= 3.0
55+
, Cabal >= 3.0 && < 3.18
5656
, aeson > 1
5757
, ansi-terminal
5858
, bytestring

0 commit comments

Comments
 (0)