diff --git a/doc/contributing/coding-conventions.xml b/doc/contributing/coding-conventions.xml
index e587275a6383..cb6d60c2c138 100644
--- a/doc/contributing/coding-conventions.xml
+++ b/doc/contributing/coding-conventions.xml
@@ -178,6 +178,15 @@ args.stdenv.mkDerivation (args // {
+
+
+ Prefer using the top-level lib over its alias
+ stdenv.lib. lib is unrelated to
+ stdenv, and so stdenv.lib should only
+ be used as a convenience alias when developing to avoid having to modify
+ the function inputs just to test something out.
+
+