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

Fix clippy warnings or disable clippy in Nix #19

Open
srid opened this issue May 2, 2024 · 0 comments
Open

Fix clippy warnings or disable clippy in Nix #19

srid opened this issue May 2, 2024 · 0 comments

Comments

@srid
Copy link
Contributor

srid commented May 2, 2024

A full Nix build (via nix run github:srid/nixci build) fails, due to clippy warnings:

image

If clippy is not used, I'd get rid of this:

checks.clippy = check;

To reproduce,

❯ nix flake check
warning: unknown flake output 'haskellFlakeProjectModules'
error: builder for '/nix/store/8qc30sswzi47pagn915asnvdk9ri9j7p-superposition-clippy-0.0.1.drv' failed with exit code 101;
       last 10 log lines:
       >     |
       > 107 |                 s.to_string()
       >     |                  ^^^^^^^^^^^^ help: remove this
       >     |
       >     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args
       >     = note: `-D clippy::to-string-in-format-args` implied by `-D warnings`
       >     = help: to override `-D warnings` add `#[allow(clippy::to_string_in_format_args)]`
       >
       > error: could not compile `service_utils` (lib) due to 21 previous errors
       > error: could not compile `service_utils` (lib test) due to 21 previous errors
       For full logs, run 'nix log /nix/store/8qc30sswzi47pagn915asnvdk9ri9j7p-superposition-clippy-0.0.1.drv'.
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

1 participant