Skip to content

Instantly share code, notes, and snippets.

@aryairani
Created December 4, 2023 15:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aryairani/1312c1a2517dd6e6828a3ffd8eed7f7f to your computer and use it in GitHub Desktop.
Save aryairani/1312c1a2517dd6e6828a3ffd8eed7f7f to your computer and use it in GitHub Desktop.
unwrapped-stack
Found "/Users/arya/work/unison/.trunk-pristine/hie.yaml" for "/Users/arya/work/unison/.trunk-pristine/a"
Run entered for haskell-language-server-wrapper(haskell-language-server-wrapper) Version 2.4.0.0 aarch64 ghc-9.2.8
Current directory: /Users/arya/work/unison/.trunk-pristine
Operating system: darwin
Arguments: ["--lsp"]
Cradle directory: /Users/arya/work/unison/.trunk-pristine
Cradle type: Stack
Tool versions found on the $PATH
cabal: 3.6.2.1
stack: 2.13.1
ghc: 9.2.8
Consulting the cradle to get project GHC version...
2023-12-04T15:45:04.785795Z | Debug | executing command: stack setup --silent
2023-12-04T15:45:06.348353Z | Debug | executing command: stack exec ghc -- --numeric-version
Project GHC version: 9.2.8
haskell-language-server exe candidates: ["haskell-language-server-9.2.8","haskell-language-server"]
Launching haskell-language-server exe at:/nix/store/gbrsg153bxxx6f3g3qwddnj8a0cc30c5-haskell-language-server-2.4.0.0/bin/haskell-language-server-9.2.8
2023-12-04T15:45:07.169821Z | Debug | executing command: stack setup --silent
2023-12-04T15:45:08.731853Z | Debug | executing command: stack exec ghc -- -v0 -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath)
2023-12-04T15:45:09.883630Z | Debug | executing command: stack setup --silent
2023-12-04T15:45:11.406929Z | Debug | executing command: stack exec ghc -- --print-libdir
GHC ABIs don't match!

Expected: Cabal-3.6.3.0:0e1821a328af5568ecac0d7fc0c122ba array-0.5.4.0:4b2142702196aa5800165b234aa4dcfd base-4.16.4.0:660df90750812c0c4e3194d20dac941b binary-0.8.9.0:383dd2eb949b3ac340df8947be1653d3 bytestring-0.11.4.0:f1a1eeb8ecb9d870fd421abc52dd16d3 containers-0.6.5.1:ff67d27d565264dd93b0885417b524af deepseq-1.4.6.1:7a884f02a284df028cba6e374f48b08c directory-1.3.6.2:8c94a2661fc08cb1e0bcaee5cf3ddf7d exceptions-0.10.4:b20991d8f250575e0d7db0e0fc64bb49 filepath-1.4.2.2:d6ab5cd15dfe12e976dc735f866207d6 ghc-9.2.8:b12a80b7e66b9ea7eb0a0c3f4d05032f ghc-bignum-1.2:4bf6905ca8cca85ad75c30d36c11b21d ghc-boot-9.2.8:9515f9da9f5429aa8f0f33ee6b7826c3 ghc-boot-th-9.2.8:0459167572d09529e9ad209950f37353 ghc-compact-0.1.0.0:b18f0e252bf3a0ae7ce5231e8ca29b12 ghc-heap-9.2.8:dda1098b248deb996be0b318915435e6 ghc-prim-0.8.0:8fcacaf0e051765d2549d34af25d8721 ghci-9.2.8:659ce20145365c9f87a659bf33cfd843 haskeline-0.8.2:91ea8299dd101c3e17cd98a3ebf90b6b hpc-0.6.1.0:3c59c7353acbd2ede96ad182e68d5158 integer-gmp-1.1:a749a068f2405fe3a2c35cf42bac3b95 libiserv-9.2.8:c98070ad03e18073c59d4a1544428bc8 mtl-2.2.2:5e83d170ce421645194aebd4f28acfef parsec-3.1.15.0:1c67064627bcbbb2e35892484acadc26 pretty-1.1.3.6:6e88c9de227c6d1000e96d56416efc74 process-1.6.16.0:9d725028707ee0c87e46156af46daf94 rts-1.0.2: stm-2.5.0.2:3780ad6fd3b3a8c67113c49e7c1d0ef1 template-haskell-2.18.0.0:b964322023e91398c2a56ff1a003019f terminfo-0.4.1.5:97d5b1b4652448e27c7d37bca9bc0858 text-1.2.5.0:2c15007e9526ee3ef2a8b27da829f664 time-1.11.1.1:a31647dfdef7ff6981bc34e9d6148143 transformers-0.5.6.2:3b0a13331e15f843dd53735b93b2367d unix-2.7.2.2:a26d2b8b861c6d68575447075d16face xhtml-3000.2.2.1:7bba065d960f673c566d0eda6914f4ee
Got: Cabal-3.6.3.0:8967536eba90a1016bb90699de5b0c47 array-0.5.4.0:4d91a3893c8bed5b267e4352abcc498e base-4.16.4.0:71dcebd1df5a4d5e9f9d3d93c7dd10ae binary-0.8.9.0:1970ebf650a64c37eb5b15c31aea8159 bytestring-0.11.4.0:ed9fbfac0e59d5f523f8b3f86d7951a0 containers-0.6.5.1:2f7b1a9c501414075f717af41b1c8ab3 deepseq-1.4.6.1:f0ad76b820eb62b601d23f6f7bcbb80f directory-1.3.6.2:cb0759c36a2730c2fa6d6ddf16d752e2 exceptions-0.10.4:3bf5f53a1b3e95efac254c41b8d2bcf8 filepath-1.4.2.2:957cb16b4564322b979b2fd6467a5ea5 ghc-9.2.8:79f079de80e619681570f5ef4fc7a0ec ghc-bignum-1.2:4bf6905ca8cca85ad75c30d36c11b21d ghc-boot-9.2.8:5e55b29e9b0cde7be994cb34486b230b ghc-boot-th-9.2.8:7d1b25209b54c68b99de4a1be151729d ghc-compact-0.1.0.0:ec71ccd54dceccc82aaf5ca6d8b801c8 ghc-heap-9.2.8:d0a56124519485874338037fea6c44d7 ghc-prim-0.8.0:8fcacaf0e051765d2549d34af25d8721 ghci-9.2.8:490e33e54f839b54b43505851333180a haskeline-0.8.2:1a4eacb91934e1c40509eb38ed9617e5 hpc-0.6.1.0:a023ec7a3f50bae93120544e821dab94 integer-gmp-1.1:21c20ffd2095a30619d4848fb1392323 libiserv-9.2.8:b5ef2bd89dcb3b15852b5c23d1620697 mtl-2.2.2:d620122b64a121900ab3b0a4d2f87db3 parsec-3.1.15.0:823cbaeb4f0d8985211518b42def5662 pretty-1.1.3.6:9dec267eb4167b74720b16da8c6f7a48 process-1.6.16.0:229b9547cac64d26c04f74c8a204cb28 rts-1.0.2:2881cf8549be49b0dd5a86a4989e8cd2 stm-2.5.0.2:d46401b837a8d291ba4ace8d08d288b1 template-haskell-2.18.0.0:c253d5c0d78466d31783c7c9e6a0731a terminfo-0.4.1.5:b409ea0fdad72de091fff2958f6c104f text-1.2.5.0:afb3956334cd675167fd46d1acc0e806 time-1.11.1.1:66e8c747b0ee779c7e0390a1f81a97b5 transformers-0.5.6.2:902b1ce4e62013e852c6e5d6a424e74c unix-2.7.2.2:875b492620c406f61a1bc48c67fe5bb2 xhtml-3000.2.2.1:c92cbe3774cd98f9cdccbb9408ba5a58
Content-Length: 203
{"jsonrpc":"2.0", "method":"window/showMessage", "params": {"type": 1, "message": "Couldn't find a working/matching GHC installation. Visit https://nixos.org/manual/nixpkgs/unstable/#haskell-language-server to learn how to correctly install a matching hls for your ghc with nix."}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment