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.
When I try to invoke ghc-mod (on my NixOS machine) I get the following output:
$ ghc-mod check src/Main.hs
cabal-helper-wrapper: Installing a private copy of Cabal because we couldn't
find the right version in your global/user package-db, this might take a
while but will only happen once per Cabal version you're using.
If anything goes horribly wrong just delete this directory and try again:
/home/gilligan/.ghc-mod/cabal-helper
If you want to avoid this automatic installation altogether install
version 2.0.0.2 of Cabal manually (into your user or global package-db):
$ cabal install Cabal --constraint "Cabal == 2.0.0.2"
[...]
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
ghc-mod: readCreateProcess: /nix/store/g5xd0f280n08zz1m8piirnnm2pf2kwbv-cabal-helper-0.7.3.0/libexec/x86_64-linux-ghc-8.0.2/cabal-helper-0.7.3.0/cabal-helper-wrapper "--with-ghc=ghc" "--with-ghc-pkg=ghc-pkg" "--with-cabal=cabal" "/home/gilligan/Development/jenkins-nixify" "/home/gilligan/Development/jenkins-nixify/dist" "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
setup info
$ cabal --version
cabal-install version 2.0.0.0
compiled using version 2.0.0.2 of the Cabal library
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 8.0.2
I am sorry in case this issue is a duplicate of an existing one but I honestly don't quite understand the details so I created a new one. I'll gladly close it if it is indeed a duplicate.
The text was updated successfully, but these errors were encountered:
When I try to invoke ghc-mod (on my NixOS machine) I get the following output:
setup info
I am sorry in case this issue is a duplicate of an existing one but I honestly don't quite understand the details so I created a new one. I'll gladly close it if it is indeed a duplicate.
The text was updated successfully, but these errors were encountered: