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

Flaky nix shell check in CI #3236

Closed
goodlyrottenapple opened this issue Sep 2, 2022 · 2 comments
Closed

Flaky nix shell check in CI #3236

goodlyrottenapple opened this issue Sep 2, 2022 · 2 comments
Assignees
Labels

Comments

@goodlyrottenapple
Copy link
Contributor

The CI Nix shell check action often errors out with

error: derivation '/nix/store/58xgc5mhip4f2bfc5fpb7smm7b4fzl9y-hoogle-local-0.1.drv' requires non-existent output 'doc' from input derivation '/nix/store/027ci16pwznr0krbh62ik4rhm4l8lf7j-pipes-aeson-lib-pipes-aeson-0.4.1.8-haddock.drv'

This is most likely due to NixOS/nix#6572
The options to fix are:

  • separate this step in the run into its own action and run via an older version of nix
  • downgrade nix for the whole action (tho this may not be feasible if this behaviour occurs in nix >2.4)
  • or drop the shell check entirely
@jberthold
Copy link
Member

jberthold commented Sep 5, 2022

Suggestion:

  • replacenix-shell check by nix develop check
  • make nix develop support fourmolu and integration tests
  • remove old-style nix-* commands completely and update the README.md, except for nix-build test.nix

@ana-pantilie
Copy link
Contributor

@goodlyrottenapple found that the third bullet point (remove old-style nix-* commands completely and update the README.md, except for nix-build test.nix) is not possible to do currently.

#3245 fixes the rest.

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

No branches or pull requests

3 participants