about summary refs log tree commit diff
path: root/nixpkgs/doc/build-helpers/special/mkshell.section.md
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/doc/build-helpers/special/mkshell.section.md')
-rw-r--r--nixpkgs/doc/build-helpers/special/mkshell.section.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixpkgs/doc/build-helpers/special/mkshell.section.md b/nixpkgs/doc/build-helpers/special/mkshell.section.md
index 96d43535955f..e39bef7468e3 100644
--- a/nixpkgs/doc/build-helpers/special/mkshell.section.md
+++ b/nixpkgs/doc/build-helpers/special/mkshell.section.md
@@ -29,6 +29,10 @@ pkgs.mkShell {
 
 ... all the attributes of `stdenv.mkDerivation`.
 
+## Variants {#sec-pkgs-mkShell-variants}
+
+`pkgs.mkShellNoCC` is a variant that uses `stdenvNoCC` instead of `stdenv` as base environment. This is useful if no C compiler is needed in the shell environment.
+
 ## Building the shell {#sec-pkgs-mkShell-building}
 
 This derivation output will contain a text file that contains a reference to