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

ilist doesn't build on openSUSE Tumbleweed #15

Open
SchoolGuy opened this issue Feb 18, 2023 · 0 comments
Open

ilist doesn't build on openSUSE Tumbleweed #15

SchoolGuy opened this issue Feb 18, 2023 · 0 comments

Comments

@SchoolGuy
Copy link

When using cabal2spec, the tool automatically generates the specfile that indeed works as desired. However, this library defines in its cabal file that only up and excluding 4.14 is working with this library. Since on openSUSE Tumbleweed we have 4.14.3, this package requires a patch that changes the maximum allowed version of base.

When I apply said patch the package builds successfully.

diff --git a/ilist.cabal b/ilist.cabal
index 242bd38..3ffc337 100644
--- a/ilist.cabal
+++ b/ilist.cabal
@@ -29,7 +29,7 @@ source-repository head
   location:            https://github.com/kowainik/ilist.git
 
 common common-options
-  build-depends:       base >= 4.10 && < 4.14
+  build-depends:       base >= 4.10 && < 4.15
 
   ghc-options:         -Wall
                        -Wincomplete-uni-patterns
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant