1

Topic: Starting packaging haskell stack

Some genius has written the PKGBUILDs (at Parabola) for haskell stack

ghc-static depends on ghc
ghc depends on ghc-libs
ghc-libs depends on ghc-static (makedepend)

Where to start packaging haskell stack? Should I create PKGBUILD from scratch?

2

Re: Starting packaging haskell stack

Own perspective: You need fpc and to build that you need fpc - again as binary-package. So you have to work up the whole stack from the ground. We have integrated fpc not for now!

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

3

Re: Starting packaging haskell stack

throgh wrote:

So you have to work up the whole stack from the ground.

What do you mean by that?

Is it something like the compiler written in C which can self-compile? I don't even know how self-compiling would work the 1st time unless the binary has been made by hand.

4

Re: Starting packaging haskell stack

You need a version of fpc to compile fpc and therefore create the compiler. Afterwards you have a working package, you can create ghc and from that step by step all the rest of Haskell. It is a problematic way because you can download the binary package for fpc which is therefore resulting to be done for compilation the first package - for updates it would be done then with the new compiled package in the future going. So also the reasoning until now not integrating that!

Especially those packages you have mentioned in the first post are the reasoning we have no haskell for now, because the integration is not possible without binary releases and that is a real problem. Parabola GNU/Linux is importing packages from Arch Linux, so they have a starting point. We have this not and it would violate the concept for upcoming releases also. When you start from scratch you will be confronted with the essential problem of fpc in some comparable way: Your PKGBUILD would have to contain a binary-release of it to compile it.

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

5

Re: Starting packaging haskell stack

Very interesting. Very interesting. They're forcing to trust their binary! They should alternatively create something that can be compiled with some C compiler to remove that trust.