gentoo-haskell / hackport

A command line tool to generate Gentoo ebuilds from Hackage packages.
GNU General Public License v3.0
55 stars 21 forks source link

Shouldn't generate base-orphans dep #135

Open l29ah opened 8 months ago

l29ah commented 8 months ago

For some-1.0.6 the following dep is generated: >=dev-haskell/base-orphans-0.9.1:=[profile?] <dev-haskell/base-orphans-0.10:=[profile?], even though in Gentoo base-orphans is shipped with ghc exclusively.

hololeap commented 8 months ago

even though in Gentoo base-orphans is shipped with ghc exclusively

Are you sure about that? I haven't seen this unless it's with newer GHC versions, but I don't see it here:

https://downloads.haskell.org/ghc/9.8.2/docs/libraries/index.html

l29ah commented 8 months ago

Oops. Maybe i made a typo or otherwise i didn't notice there's an ebuild for it, and it got pulled through somehow. Interestingly, some-1.0.6 was satisfied when i just dropped the dependency in the ebuild (and i had base-orphans-0.9 installed that doesn't satisfy the hackport-generated requirement).

hololeap commented 8 months ago

Interestingly, some-1.0.6 was satisfied when i just dropped the dependency in the ebuild

It looks like it's because base-orphans is only required for ghc-9.6 and below