On 24 April 2015 at 13:37, SP <s...@orbitalfox.com> wrote:
> On 24/04/15 12:16, Magnus Therning wrote:
>> Sorry, but I don't understand what steps you are performing.  How do
>> you get ghc to "accidentally" install a second time?
>
> Because `Setup.hd configure` complained `base` dependency was missing,
> my reflexive reaction was to install `haskell-base`. That reinstalled ghc.
>
>> After running `pacman -Rncs ghc` *everything* related to haskell
>> development ought to disappear.
>
> And that is what happened. I am purging everything again now and will
> try to avoid causing ghc to reinstall. But is it possible to fix this
> behaviour? Maybe there is a pacman flag to disallow a package from
> reinstalling if there are such installation order dependencies.
>
>> I'd also suggest you clean out any locally installed packages (e.g.
>> via `cabal install`).
>
> Will do.

I've just verified these steps work for me:

~~~
% sudo pacman -Rncs ghc
% sudo pacman -S
haskell-{unixutils,aeson,ansi-wl-pprint,mtl,optparse-applicative,safe,stringsearch,tar,utf8-string,zlib}
% ./Setup.hs configure
% ./Setup.hs build
~~~

/M

-- 
Magnus Therning                      OpenPGP: 0xAB4DFBA4
email: mag...@therning.org   jabber: mag...@therning.org
twitter: magthe               http://therning.org/magnus
_______________________________________________
arch-haskell mailing list
arch-haskell@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/arch-haskell

Reply via email to