Last active
April 3, 2018 07:56
-
-
Save willbasky/5b670ce613c3edca37f44fc160c4cd13 to your computer and use it in GitHub Desktop.
ghc-mod error in atom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[1 of 5] Compiling CabalHelper.Types ( CabalHelper/Types.hs, /home/user/.ghc-mod/cabal-helper/CabalHelper/Types.o ) | |
[2 of 5] Compiling CabalHelper.Sandbox ( CabalHelper/Sandbox.hs, /home/user/.ghc-mod/cabal-helper/CabalHelper/Sandbox.o ) | |
[3 of 5] Compiling CabalHelper.Licenses ( CabalHelper/Licenses.hs, /home/user/.ghc-mod/cabal-helper/CabalHelper/Licenses.o ) | |
CabalHelper/Licenses.hs:56:8: error: | |
• Expecting one more argument to ‘CPackageIndex ModuleName’ | |
Expected a type, but ‘CPackageIndex ModuleName’ has kind ‘* -> *’ | |
• In the type signature: | |
findTransitiveDependencies :: CPackageIndex ModuleName | |
-> Set CInstalledPackageId -> Set CInstalledPackageId | |
[1 of 5] Compiling CabalHelper.Types ( CabalHelper/Types.hs, /home/user/.ghc-mod/cabal-helper/CabalHelper/Types.o ) | |
[2 of 5] Compiling CabalHelper.Sandbox ( CabalHelper/Sandbox.hs, /home/user/.ghc-mod/cabal-helper/CabalHelper/Sandbox.o ) | |
[3 of 5] Compiling CabalHelper.Licenses ( CabalHelper/Licenses.hs, /home/user/.ghc-mod/cabal-helper/CabalHelper/Licenses.o ) | |
CabalHelper/Licenses.hs:56:8: error: | |
• Expecting one more argument to ‘CPackageIndex ModuleName’ | |
Expected a type, but ‘CPackageIndex ModuleName’ has kind ‘* -> *’ | |
• In the type signature: | |
findTransitiveDependencies :: CPackageIndex ModuleName | |
-> Set CInstalledPackageId -> Set CInstalledPackageId | |
EXCEPTION: browse: | |
readCreateProcess: /home/user/.stack/snapshots/x86_64-linux/lts-9.21/8.0.2/libexec/x86_64-linux-ghc-8.0.2/cabal-helper-0.7.3.0/cabal-helper-wrapper "--with-ghc=/home/user/.stack/programs/x86_64-linux/ghc-8.0.2/bin/ghc" "--with-ghc-pkg=/home/user/.stack/programs/x86_64-linux/ghc-8.0.2/bin/ghc-pkg" "--with-cabal=cabal" "/home/Coding/Haskell/codeWars" "/home/Coding/Haskell/codeWars/.stack-work/dist/x86_64-linux/Cabal-2.0.1.1" "package-db-stack" "entrypoints" "source-dirs" "ghc-options" "ghc-src-options" "ghc-pkg-options" "ghc-merged-pkg-options" "ghc-lang-options" "licenses" "flags" "config-flags" "non-default-config-flags" "compiler-version" (exit 1): failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment