diff options
author | Robert Hensing | 2022-01-27 22:16:15 +0100 |
---|---|---|
committer | GitHub | 2022-01-27 22:16:15 +0100 |
commit | da702fe9d9781cdd84a984fea33255ead2f9255f (patch) | |
tree | f451b93db6740d6fc1d633d8258c9162d63f7d17 /doc | |
parent | 81cd4faec2e9857364aed877b01801c82eec1495 (diff) | |
parent | daca830722a48d67065658f8259782fd0734eb9f (diff) |
Merge pull request #156857 from hercules-ci/fix-version-suffix-convention
doc/coding-conventions: Fix version attribute suffix to match reality
Diffstat (limited to 'doc')
-rw-r--r-- | doc/contributing/coding-conventions.chapter.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/contributing/coding-conventions.chapter.md b/doc/contributing/coding-conventions.chapter.md index 79d90c23a40f..cfe8582e514a 100644 --- a/doc/contributing/coding-conventions.chapter.md +++ b/doc/contributing/coding-conventions.chapter.md @@ -224,7 +224,7 @@ There are a few naming guidelines: - Dashes in the package name _should_ be preserved in new variable names, rather than converted to underscores or camel cased — e.g., `http-parser` instead of `http_parser` or `httpParser`. The hyphenated style is preferred in all three package names. -- If there are multiple versions of a package, this _should_ be reflected in the variable names in `all-packages.nix`, e.g. `json-c-0-9` and `json-c-0-11`. If there is an obvious “default” version, make an attribute like `json-c = json-c-0-9;`. See also [](#sec-versioning) +- If there are multiple versions of a package, this _should_ be reflected in the variable names in `all-packages.nix`, e.g. `json-c_0_9` and `json-c_0_11`. If there is an obvious “default” version, make an attribute like `json-c = json-c_0_9;`. See also [](#sec-versioning) ## File naming and organisation {#sec-organisation} |