summary refs log tree commit diff
path: root/doc/contributing
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-04-30 11:05:39 +0200
committerGitHub <noreply@github.com>2021-04-30 11:05:39 +0200
commit226b043cefeddd689652f2e8f8d63016ea0a3fdc (patch)
tree9b2adff1fe5eab8733beca883a301f1754b75c80 /doc/contributing
parente2d36db666a18f9e3e17baed278570f6ec64f304 (diff)
downloadnixpkgs-226b043cefeddd689652f2e8f8d63016ea0a3fdc.tar
nixpkgs-226b043cefeddd689652f2e8f8d63016ea0a3fdc.tar.gz
nixpkgs-226b043cefeddd689652f2e8f8d63016ea0a3fdc.tar.bz2
nixpkgs-226b043cefeddd689652f2e8f8d63016ea0a3fdc.tar.lz
nixpkgs-226b043cefeddd689652f2e8f8d63016ea0a3fdc.tar.xz
nixpkgs-226b043cefeddd689652f2e8f8d63016ea0a3fdc.tar.zst
nixpkgs-226b043cefeddd689652f2e8f8d63016ea0a3fdc.zip
doc/contributing: clarify stdenv.lib deprecation
Diffstat (limited to 'doc/contributing')
-rw-r--r--doc/contributing/coding-conventions.chapter.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/contributing/coding-conventions.chapter.md b/doc/contributing/coding-conventions.chapter.md
index eccf4f7436e..a95b600a420 100644
--- a/doc/contributing/coding-conventions.chapter.md
+++ b/doc/contributing/coding-conventions.chapter.md
@@ -171,7 +171,8 @@
 
 - Arguments should be listed in the order they are used, with the exception of `lib`, which always goes first.
 
-- 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.
+- The top-level `lib` must be used in the master and 21.05 branch over its alias `stdenv.lib` as it now causes evaluation errors when aliases are disabled which is the case for ofborg.
+  `lib` is unrelated to `stdenv`, and so `stdenv.lib` should only be used as a convenience alias when developing locally to avoid having to modify the function inputs just to test something out.
 
 ## Package naming {#sec-package-naming}