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

imapnotify: add wait option to imapnotify-accounts #6369

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

onemoresuza
Copy link
Contributor

Description

wait is no longer a part of the goimapnotify's config, but one of its
cli options.

Checklist

  • Change is backwards compatible.

  • Code formatted with ./format.

  • Code tested through nix-shell --pure tests -A run.all
    or nix build --reference-lock-file flake.lock ./tests#test-all using Flakes.

  • Test cases updated/added. See example.

  • Commit messages are formatted like

    {component}: {description}
    
    {long description}
    

    See CONTRIBUTING for more information and recent commit messages for examples.

  • If this PR adds a new module

    • Added myself as module maintainer. See example.

Maintainer CC

@NickHu

@github-actions github-actions bot added the mail label Jan 29, 2025
@teto
Copy link
Collaborator

teto commented Feb 1, 2025

starting from what version ? is that in unstable yet ?

@onemoresuza
Copy link
Contributor Author

I've encountered this problem on goimapnotify 2.4, which is the current version for both nixos-24.11 and nixpkgs-unstable.

@teto
Copy link
Collaborator

teto commented Feb 1, 2025

An extraArgs like in modules/services/swayidle.nix would be more generic.

@onemoresuza
Copy link
Contributor Author

onemoresuza commented Feb 2, 2025 via email

`wait` is no longer a part of the goimapnotify's config, but one of its
cli options.
@@ -30,10 +30,15 @@ with lib;
description = "IMAP folders to watch.";
};

extraArgs = mkOption {
type = types.listOf types.str;
default = [ "-wait 1" ];
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the current module doesn't seem to set wait at all. Can we keep this behavior and use "-wait 1" as an example instead ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants