Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test fails #48

Open
GuillaumeDesforges opened this issue Jun 25, 2020 · 1 comment
Open

Test fails #48

GuillaumeDesforges opened this issue Jun 25, 2020 · 1 comment

Comments

@GuillaumeDesforges
Copy link

While packaging haskell-language-server on nixpkgs: NixOS/nixpkgs#91279

I encountered floskell error on check phase:

Running 1 test suites...
Test suite floskell-test: RUNNING...
floskell-test: styles/base.md: openBinaryFile: does not exist (No such file or directory)
Test suite floskell-test: FAIL
@ennocramer
Copy link
Owner

It seems in the nix environment the test is run with a different working directory compared to non-nix cabal test/stack test runs. I'm looking into using the full source path to load the test files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants