diff --git a/doc/coding-conventions.xml b/doc/coding-conventions.xml
index e7166a64919..8105611f2ba 100644
--- a/doc/coding-conventions.xml
+++ b/doc/coding-conventions.xml
@@ -251,16 +251,13 @@ bound to the variable name e2fsprogs in
The version part of the name
attribute must start with a digit (following a
- dash) — e.g., "hello-0.3-pre-r3910" instead of
- "hello-svn-r3910", as the latter would be seen as
- a package named hello-svn by
- nix-env.
+ dash) — e.g., "hello-0.3.1rc2".
- If package is fetched from git's commit then
+ If a package is not a release but a commit from a repository, then
the version part of the name must be the date of that
(fetched) commit. The date must be in "YYYY-MM-DD" format.
- Also add "git" to the name - e.g.,
- "pkgname-git-2014-09-23".
+ Also append "unstable" to the name - e.g.,
+ "pkgname-unstable-2014-09-23".
Dashes in the package name should be preserved
in new variable names, rather than converted to underscores