[arch-haskell] ghc 7.4.1 in a temporary repo
adrien at haxaire.org
Sat Oct 12 07:39:58 UTC 2013
On 18/02/2012 23:51, Magnus Therning wrote:
> I'd recommend you fetch the latest changes I've made to the git repo.
> There's a new pkgrel of GHC itself (7.4.1-2) as well as some fixes to
> the patches. Some extra instructions:
> - After creating all the PKGBUILDs it's necessary to adjust the
> dependency on GHC (unless you modify `cblrepo` and build a new
> version of it), e.g. by executing something like
> for f in */PKGBUILD; do
> sed -e 's/\(.*\)ghc=7\.4\.1-1\(.*\)/\1ghc=7.4.1-2\2/' -i $f
> - It's not possible to record dependencies on tools in Cabal files,
> instead that is done in some of the patches. Unfortunately this
> means that `clbrepo` can't produce a build order that is 100%
> guaranteed to work; a bit of manual tweaking of the ,,build-order
> file may be necessary. I think the only tools in question are
> `alex`, `happy` and `gtk2hs-buildtools`.
> Good luck ;)
I have pulled your changes to the patches then rebuilt all. I have
uploaded them at the same location.
I did not need to tweak the ,,build-order file.
By the way, what happens if I want to build it while being root (or
under a sudo bash)? I had to type in me password several times because I
did not dare try it being root. Do you have a trick to avoid typing it?
More information about the arch-haskell