Closed cyntheticfox closed 1 year ago
I think clap must have made major changes to their Derive
system in their version bump, but either didn't entirely remove old ones or have them only semi-supported.
In https://github.com/bennofs/nix-index/blob/cc446260753a2e498d9aec6e1e042a1a0355f5ed/src/bin/nix-locate.rs, The Derive
statement for type
had its final argument adjusted, but looking at https://docs.rs/clap/latest/clap/_derive/_tutorial/index.html#validated-values, it looks to me like they more rewrote than renamed it.
Thanks, this was an oversight when updating to new clap. I should've tested --type
, I'll do a 0.1.4 release and push the update to nixpkgs right away.
Mistyped a command and got a panic when nix-index tried to look it up: