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

Haddock test fails on nix #97

Open
myroslambda opened this issue May 25, 2021 · 2 comments
Open

Haddock test fails on nix #97

myroslambda opened this issue May 25, 2021 · 2 comments

Comments

@myroslambda
Copy link
Contributor

The haddock tests uses cabal exec and fails on nix.

The solution implemented should also work with our current setup and in the CI server.

@myroslambda
Copy link
Contributor Author

Related: #95

@zoranbosnjak
Copy link

@myroslambda I can try to fix this.

Does this change breaks the CI server build?

-  (code, out, _err) <- readProcessWithExitCode "cabal" cabalArgs ""
+  (code, out, _err) <- readProcessWithExitCode "haddock" files ""

If this change is OK, then it should not be too difficult to replace it over the code base. Assuming that this is the only nix build problem.

If on the other hand this change breaks the "CI server build", then I am not sure if I can help with this problem.

Anyway, this is the procedure, to reproduce the current nix-build problem.

# for each subproject, for example:
cd keera-hails-reactivevalues
cabal2nix --shell . > default.nix
nix-build

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

No branches or pull requests

2 participants