Maximilian Bosch
fc316f7b31
nixos/ssmtp: declare all option renames manually
...
While renaming `networking.defaultMailServer` directly to
`services.ssmtp` is shorter and probably clearer, it causes eval errors
due to the second rename (directDelivery -> enable) when using e.g. `lib.mkForce`.
For instance,
``` nix
{ lib, ... }: {
networking.defaultMailServer = {
hostName = "localhost";
directDelivery = lib.mkForce true;
domain = "example.org";
};
}
```
would break with the following (rather confusing) error:
```
error: The option value `services.ssmtp.enable' in `/home/ma27/Projects/nixpkgs/nixos/modules/programs/ssmtp.nix' is not of type `boolean'.
(use '--show-trace' to show detailed location information)
```
2020-03-22 15:52:01 +01:00
..
2020-01-28 00:11:43 -05:00
2018-12-15 03:50:31 +00:00
2019-09-19 19:17:30 +02:00
2020-02-18 15:52:21 +00:00
2019-11-20 22:57:00 +01:00
2019-08-26 21:40:19 +00:00
2018-09-26 14:59:49 +02:00
2019-12-31 10:20:07 +02:00
2020-01-01 14:53:15 -05:00
2018-07-20 20:56:59 +00:00
2019-04-28 11:05:24 -07:00
2019-06-14 20:38:33 +02:00
2017-08-11 15:48:45 +00:00
2018-02-23 19:00:26 +00:00
2019-05-30 19:58:45 +02:00
2018-02-15 09:10:32 +01:00
2020-01-06 10:39:18 -05:00
2018-11-08 08:37:44 +01:00
2019-10-13 19:54:09 -04:00
2019-08-09 12:56:11 -04:00
2019-08-09 12:56:11 -04:00
2020-03-14 03:09:48 +00:00
2020-02-18 08:58:11 -08:00
2019-04-29 14:05:50 +02:00
2016-02-27 22:25:39 +13:00
2019-08-12 13:37:15 +02:00
2020-01-10 02:00:08 +01:00
2019-08-09 12:56:11 -04:00
2019-08-09 12:56:11 -04:00
2019-08-21 16:16:04 -04:00
2020-01-24 15:54:57 +00:00
2019-08-10 11:17:18 -04:00
2018-06-30 03:02:58 +02:00
2018-04-07 15:06:51 +02:00
2019-02-07 16:52:01 +01:00
2016-11-21 16:35:15 +01:00
2017-01-29 05:45:43 -06:00
2019-09-17 00:18:14 +00:00
2020-01-16 18:09:35 +01:00
2018-09-30 21:21:23 -05:00
2018-11-21 23:33:10 +00:00
2018-06-08 20:57:16 +02:00
2019-08-05 17:42:17 +08:00
2019-08-26 21:40:19 +00:00
2019-12-13 18:23:20 -05:00
2019-08-26 21:40:19 +00:00
2019-12-10 22:41:25 -05:00
2019-09-06 02:54:53 +02:00
2019-09-19 19:17:30 +02:00
2017-07-23 12:56:04 +03:00
2020-01-03 15:24:32 +00:00
2019-10-21 18:01:15 +02:00
2018-03-19 12:12:56 +08:00
2020-01-06 10:39:18 -05:00
2019-01-31 11:04:16 +00:00
2017-03-30 14:36:53 -07:00
2016-07-05 13:27:17 +02:00
2019-11-07 22:13:18 +00:00
2020-03-22 15:52:01 +01:00
2020-02-13 09:36:35 +01:00
2017-09-29 15:01:21 +01:00
2019-09-06 09:40:17 -04:00
2018-07-20 20:56:59 +00:00
2019-08-31 18:19:00 +02:00
2020-02-06 15:29:36 -08:00
2020-01-17 21:28:54 +00:00
2019-07-15 09:41:37 +02:00
2018-02-26 14:30:22 +08:00
2019-08-30 18:54:33 +02:00
2017-03-21 08:28:53 +01:00
2017-03-17 23:36:19 +01:00
2016-03-28 14:22:18 +08:00
2018-09-07 20:35:17 +02:00
2019-03-18 09:56:27 +01:00
2018-06-30 03:02:58 +02:00
2019-10-12 22:25:28 +02:00
2019-08-26 21:40:19 +00:00
2019-08-26 21:40:19 +00:00
2019-08-31 18:19:00 +02:00
2019-08-31 18:19:00 +02:00
2019-05-10 08:12:27 +02:00