Can I somehow set (or override, more specifically) the features selected by
cargo for building a Rust package using
I’m currently using
i3status-rs as statusbar for my
i3. Since I am using
notmuch for handling my mail, I want to use the respective block in my statusbar to show me how many mails match a certain query. This however requires the statusbar to be built with a special feature flag.
I thought it would be easiest if I could simply use the package provided by the
20.09 channel of NixOS and just throw the
notmuch flag into the package override section.
Can this work? And if so: How? Or did I make wrong assumptions here?