You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 25, 2020. It is now read-only.
Hi,
I'm new to Haskell and I was setting up my environment. I tried to install ghc-mod via cabal but it fell down due to the correct version of happy not being in my distribution (ghc-mod is expecting a version >= 1.17). It was easily fixed by doing cabal install happy which then proceeded to pull down version 1.19. I'm just wondering whether that is an issue with the ghc-mod build script in that if it doesn't find the correct version of happy, it doesn't try to pull down the right version? Sorry if I am missing something here, I am totally new to Haskell and cabal. Below is a copy of the install activity:
Downloading the latest package list from hackage.haskell.org
Skipping download: Local and remote files match.
Resolving dependencies...
Configuring haskell-src-exts-1.16.0.1...
Failed to install haskell-src-exts-1.16.0.1
Build log ( /Users/me/.cabal/logs/haskell-src-exts-1.16.0.1.log ):
Configuring haskell-src-exts-1.16.0.1...
setup-Simple-Cabal-1.22.4.0-x86_64-osx-ghc-7.8.4: The program 'happy' version
=1.17 is required but it could not be found.
cabal: Error: some packages failed to install:
ghc-mod-5.3.0.0 depends on haskell-src-exts-1.16.0.1 which failed to install.
haskell-src-exts-1.16.0.1 failed during the configure step. The exception was:
ExitFailure 1
hlint-1.9.21 depends on haskell-src-exts-1.16.0.1 which failed to install.
[1]+ Done cabal update
kleisli:~ me$ cabal install happy
Resolving dependencies...
Downloading happy-1.19.5...
Configuring happy-1.19.5...
Building happy-1.19.5...
Installed happy-1.19.5
kleisli:~ me$ cabal update & cabal install ghc-mod
[1] 20573
Downloading the latest package list from hackage.haskell.org
Skipping download: Local and remote files match.
Resolving dependencies...
Configuring haskell-src-exts-1.16.0.1...
Building haskell-src-exts-1.16.0.1...
Installed haskell-src-exts-1.16.0.1
Downloading hlint-1.9.21...
Configuring hlint-1.9.21...
Building hlint-1.9.21...
Installed hlint-1.9.21
Downloading ghc-mod-5.3.0.0...
Configuring ghc-mod-5.3.0.0...
Building ghc-mod-5.3.0.0...
Installed ghc-mod-5.3.0.0
[1]+ Done cabal update
The text was updated successfully, but these errors were encountered:
Hi,
I'm new to Haskell and I was setting up my environment. I tried to install ghc-mod via cabal but it fell down due to the correct version of happy not being in my distribution (ghc-mod is expecting a version >= 1.17). It was easily fixed by doing cabal install happy which then proceeded to pull down version 1.19. I'm just wondering whether that is an issue with the ghc-mod build script in that if it doesn't find the correct version of happy, it doesn't try to pull down the right version? Sorry if I am missing something here, I am totally new to Haskell and cabal. Below is a copy of the install activity:
Downloading the latest package list from hackage.haskell.org
Skipping download: Local and remote files match.
Resolving dependencies...
Configuring haskell-src-exts-1.16.0.1...
Failed to install haskell-src-exts-1.16.0.1
Build log ( /Users/me/.cabal/logs/haskell-src-exts-1.16.0.1.log ):
Configuring haskell-src-exts-1.16.0.1...
setup-Simple-Cabal-1.22.4.0-x86_64-osx-ghc-7.8.4: The program 'happy' version
The text was updated successfully, but these errors were encountered: