Skip to content

Commit

Permalink
Use newer getmail6 over getmail package (nix-community#2982)
Browse files Browse the repository at this point in the history
The `getmail` package will soon be removed from nixpkgs. The
`nixos-unstable` channel already has it removed and using the service
will result in:

    error: getmail has been removed from nixpkgs, migrate to getmail6

Upgrade to the getmail6 package which is already available and backwards
compatible.
  • Loading branch information
romanofski authored Jun 5, 2022
1 parent 684e85d commit a3638db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/services/getmail.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ in {

systemd.user.services.getmail = {
Unit = { Description = "getmail email fetcher"; };
Service = { ExecStart = "${pkgs.getmail}/bin/getmail ${configFiles}"; };
Service = { ExecStart = "${pkgs.getmail6}/bin/getmail ${configFiles}"; };
};

systemd.user.timers.getmail = {
Expand Down

0 comments on commit a3638db

Please sign in to comment.