Skip to content

Instantly share code, notes, and snippets.

@tomykaira
Created August 7, 2011 16:54
Show Gist options
  • Save tomykaira/1130534 to your computer and use it in GitHub Desktop.
Save tomykaira/1130534 to your computer and use it in GitHub Desktop.
error on installing ghc-mod with cabal.
Resolving dependencies...
[1 of 1] Compiling Main ( /tmp/haskell-src-exts-1.11.16788/haskell-src-exts-1.11.1/Setup.hs, /tmp/haskell-src-exts-1.11.16788/haskell-src-exts-1.11.1/dist/setup/Main.o )
/tmp/haskell-src-exts-1.11.16788/haskell-src-exts-1.11.1/Setup.hs:1:1:
Warning: In the use of `runTests'
(imported from Distribution.Simple, but defined in Distribution.Simple.UserHooks):
Deprecated: "Please use the new testing interface instead!"
Linking /tmp/haskell-src-exts-1.11.16788/haskell-src-exts-1.11.1/dist/setup/setup ...
Configuring haskell-src-exts-1.11.1...
setup: The program happy version >=1.17 is required but it could not be found.
cabal: Error: some packages failed to install:
ghc-mod-0.6.0 depends on haskell-src-exts-1.11.1 which failed to install.
haskell-src-exts-1.11.1 failed during the configure step. The exception was:
ExitFailure 1
hlint-1.8.13 depends on haskell-src-exts-1.11.1 which failed to install.
@tomykaira
Copy link
Author

resolved by cabal install happy --global

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment