Closed
Description
From NixOS/nixpkgs#93768
Test suite wrapper-test: RUNNING...
haskell-language-server-wrapper
--project-ghc-version
stack with ghc 8.10.1: FAIL
Exception: dist-newstyle: getDirectoryContents:openDirStream: does not exist (No such file or directory)
stack with ghc 8.8.3: FAIL
Exception: dist-newstyle: getDirectoryContents:openDirStream: does not exist (No such file or directory)
cabal with global ghc: FAIL
Exception: dist-newstyle: getDirectoryContents:openDirStream: does not exist (No such file or directory)
3 out of 3 tests failed (0.07s)
Test suite wrapper-test: FAIL
Test suite logged to:
dist/test/haskell-language-server-0.2.2.0-wrapper-test.log
I had a chat with lukelau in the hls freenode room. The issue seems to be simple and generic. The test needs the binary in the PATH and they wrote a hack accessing dist-newstyle to discover the binaries.
cc @maralorn