summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Hensing <roberth@users.noreply.github.com>2022-01-27 22:43:19 +0100
committerGitHub <noreply@github.com>2022-01-27 22:43:19 +0100
commita31164f18513bcd74ce410a87ed58590e989a46f (patch)
tree37f3fd938f4ab793f23f057899ac42ec16907da4
parentMerge pull request #156842 from FliegendeWurst/21.11-htmldoc-1.9.14 (diff)
parentdoc/coding-conventions: Fix version attribute suffix to match reality (diff)
downloadnixpkgs-a31164f18513bcd74ce410a87ed58590e989a46f.tar.gz
Merge pull request #157057 from NixOS/backport-156857-to-release-21.11
[Backport release-21.11] doc/coding-conventions: Fix version attribute suffix to match reality
-rw-r--r--doc/contributing/coding-conventions.chapter.md2
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}