Skip to content

ilist doesn't build on openSUSE Tumbleweed #15

@SchoolGuy

Description

@SchoolGuy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions