i3status-rust: make notmuch optional#387062
Conversation
drupol
left a comment
There was a problem hiding this comment.
With notmuch recently failling to build, it makes i3status-rust failling to build too.
I guess this PR is not going to fix that issue since withNotMuch is enabled by default. Right?
Tip for the next time: make sure to correctly separate your commits, especially when there are reformatting commits like in this PR. Without that, it makes the review much harder.
|
@drupol as I said in the other PR, no it doesn't disable it by default because I didn't want to break the current behavior, but I want to make it possible for people to override the attribute and disable it if needed. Otherwise, a lot of people who use notmuch will upgrade and get their mail setup broken without any notice, that wouldn't make sense. |
There was a problem hiding this comment.
The diff LGTM, though I would have preferred separate commits.
Note: This PR does not fix i3status-rust; it only adds a flag to disable notmuch, which is the underlying issue preventing i3status-rust from building correctly.
While this is merely a workaround rather than a true fix, I’m okay with this change since the default flag value remains unchanged, meaning the real issue still needs to be addressed. That said, having the option to disable notmuch via a flag is a useful addition.
Edit: Fixed in #386681
|
@just1602 I see that the CI succeeded to build In your original message, you mention:
Can you please let us know more? Which arch/platform is failing for you? |
|
Please, definitely split the patch. Formatting should happen in a different commit. |
e262077 to
0c5ca49
Compare
Hello,
With notmuch recently failling to build, it makes i3status-rust failling to build too. This PR make it possible to disable notmuch support if desire.
I'm currently using this patch as an overlay on my config and it works perfectly fine.
My editor has nixd configured for lsp and it format on save, so it format the file using
nixfmt-rfc-style, I assume it is ok, but if it's not I'll revert those modification and only add the bits to make notmuch optional.Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.