1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-01 04:23:34 +02:00

contributing.md: minor update

This elaborates the instructions for the news entry of new modules.

(cherry picked from commit ef6674d1d1)
This commit is contained in:
Robert Helgesson 2020-01-06 11:25:09 +01:00
parent 1d38ffc372
commit 72400b2c29
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89

View File

@ -139,15 +139,18 @@ If you do have a change worthy of a news entry then please add one in
> use 'services.myservice.bar' instead.
- A new module, say `foo.nix`, should always include a news entry
(without any condition) that has a message along the lines of
that has a message along the lines of
> A new service is available: 'services.foo'.
> A new module is available: 'services.foo'.
or
If the module is platform specific, e.g., a service module using
systemd, then a condition like
> A new program configuration is available: 'program.foo'.
```
condition = hostPlatform.isLinux;
```
depending on the type of module.
should be added.
[open issues]: https://github.com/rycee/home-manager/issues
[new issue]: https://github.com/rycee/home-manager/issues/new