Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

A typo in the readme and a few questions #1

Closed
ghost opened this Issue · 2 comments

1 participant

@ghost

the readme sais:
git clone git clone git://github.com/gentoo-haskell/gentoo-haskell.git
instead of:
git clone git://github.com/gentoo-haskell/gentoo-haskell.git

I'm using hackport-0.2.14 (installed from gentoo-haskell overlay), to make an ebuild for haskell-platform-2011.4.0.0 and I'm getting:

WARNING: Unknown build tool 'cabal-install'. Check the generated ebuild.

also the versions for alex and happy are not specified in the resulting ebuild (they exist in the .cabal file), are this expected behavior or I'm missig something?
I'm using .cabal file from here http://code.haskell.org/haskell-platform/haskell-platform.cabal
the cmd line(if matters)
$ hackport make-ebuild dev-haskell ~/overlay/haskell-platform.cabal

reading the haskell-platform-2011.2.0.1 ebuild I noticed that all dependencies are in RDEPEND, do I need to move the dependencies in DEPED to RDEPEND?

in the .cabal file hscolour and haddock are commented, do i need to add them?

thank you in advance :D

sorry the bad english an sorry if wrog place to ask these questions :/

@trofi trofi referenced this issue from a commit
@trofi trofi Fix typo noticed by Claudio J. Nervi P. in #1
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
9faf8e2
@trofi
Owner

WARNING: Unknown build tool 'cabal-install'. Check the generated ebuild.
also the versions for alex and happy are not specified in the resulting ebuild
(they exist in the .cabal file), are this expected behavior or I'm missig something?

It's a known deficiency, which should be fixed. Dunno how easy it actually is.

I'm using .cabal file from here http://code.haskell.org/haskell-platform/haskell-platform.cabal the cmd line(if matters)
$ hackport make-ebuild dev-haskell ~/overlay/haskell-platform.cabal

reading the haskell-platform-2011.2.0.1 ebuild I noticed that all dependencies are in RDEPEND, do I need to move the dependencies in DEPED to RDEPEND?

Right, platform ebuild is special. It's a virtual package, so it's "depends" should sit in RDEPENDs.

haddoc is tied to ghc version, so it might or might not be desired behaviour.
I think hscolour is fine to add.

But in general we don't bother with platform ebuild that much (but we should),
so current platform ebuilds are not the nicest thing in the to look at.

Instead we try to keep the whole overlay more or less usable with current GHCs.
Usually it contradicts to inflexible platform's deps.

@ghost

ty for the response, I'm want the plataform as a startig point to start developing in haskell, problaby the best will be to use strict versions en the ebuild, an then uninstall the meta/virtual package nad mark the dependencies in my world file :D

@ghost ghost closed this
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.