The learnhaskell guide has instructions to get up to date versions of ghc and cabal.

For Ubuntu: https://github.com/bitemyapp/learnhaskell/blob/master/install.md#ubuntu

On 14 October 2015 at 06:48, Vasili I. Galchin <vigalchin@gmail.com> wrote:
vasili@vasili-VirtualBox:  cabal --version
cabal-install version 1.20.0.3
using version 1.20.0.2 of the Cabal library

vasili@vasili-VirtualBox: ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.6.3


OK ... I am running Ubuntu #31-Ubuntu. I am using apt-* install
manager. I am relying on the install manager team to furnish versions
of software. I will have  to directly haskell.org to upgrade, yes??

Vasily

On Tue, Oct 13, 2015 at 12:43 PM, Mikhail Glushenkov
<mikhail.glushenkov@gmail.com> wrote:
> Hi,
>
> On 13 October 2015 at 10:41, Vasili I. Galchin <vigalchin@gmail.com> wrote:
>> [...]
>> "unrecognized option `--extra-prog-path=/home/vasili/.cabal/bin'"
>> [...]
>
> Upgrading to a newer GHC and/or cabal-install should fix this, I think.
>
> Which versions of GHC/cabal-install are you using? What is the output
> of 'cabal configure -v3'?
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe



--
Regards

Sumit Sahrawat