* bug#43753: rust-clippy does not provide the clippy command
@ 2020-10-02 0:08 Luis Felipe via Bug reports for GNU Guix
2020-10-02 9:46 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
0 siblings, 1 reply; 2+ messages in thread
From: Luis Felipe via Bug reports for GNU Guix @ 2020-10-02 0:08 UTC (permalink / raw)
To: 43753
I'm using guix b61e057 in the Guix System.
After installing rust-clippy (version 0.0.302), the "clippy" command is not found.
## Steps to reproduce
1. Open a terminal.
2. $ cd some-rust-project
3. $ cargo clippy
## Expected result
Clippy lints the project.
## Unexpected result
error: no such subcommand: `clippy`
## Additional information
Running the "rust-run-clippy" in Emacs results in the same error.
In the #guix channel, mroh checked the "rust-clippy" package and mentioned that it doesn't seem to have any output, which looks like a bug.
---
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#43753: rust-clippy does not provide the clippy command
2020-10-02 0:08 bug#43753: rust-clippy does not provide the clippy command Luis Felipe via Bug reports for GNU Guix
@ 2020-10-02 9:46 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
0 siblings, 0 replies; 2+ messages in thread
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2020-10-02 9:46 UTC (permalink / raw)
To: Luis Felipe, Luis Felipe; +Cc: 43753
[-- Attachment #1: Type: text/plain, Size: 1081 bytes --]
Luis Felipe via Bug reports for GNU Guix 写道:
> In the #guix channel, mroh checked the "rust-clippy" package and
> mentioned that it doesn't seem to have any output, which looks
> like a bug.
No, it's intentional:
(arguments
`(#:skip-build? #t
This means that Clippy was packaged to satisfy a dependency of
another package, but not (yet) to be useful on its own.
When I try to build it, I get:
--8<---------------cut here---------------start------------->8---
error: failed to run custom build command for `clippy v0.0.302
Caused by:
process didn't exit successfully:
`/tmp/guix-build-rust-clippy-0.0.302.drv-0/clippy-0.0.302/target/release/build/clippy-bee5bea0d583d718/build-script-build`
(exit code: 1)
--- stderr
error: Clippy is no longer available via crates.io
help: please run `rustup component add clippy-preview` instead
--8<---------------cut here---------------end--------------->8---
It seems[0] to track Rust releases now.
Kind regards,
T G-R
[0]: https://github.com/rust-lang/rust-clippy/releases
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-10-02 9:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-02 0:08 bug#43753: rust-clippy does not provide the clippy command Luis Felipe via Bug reports for GNU Guix
2020-10-02 9:46 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).