about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorSilvan Mosberger <contact@infinisil.com>2024-01-18 16:10:21 +0100
committerGitHub <noreply@github.com>2024-01-18 16:10:21 +0100
commitdc30cf4f88b3697cace3f76f48c38a41ec091b90 (patch)
tree823237ec5c42a80483e394470f8109e78369eb4a /doc
parent0a344117b133c561bb7bde8ea6a92311dd748306 (diff)
parent8c65bdc334264c53cf1b8853d17c8817b304d594 (diff)
Merge pull request #259567 from Eisfunke/document-mkShellNoCC
doc: add section about mkShellNoCC
Diffstat (limited to 'doc')
-rw-r--r--doc/build-helpers/special/mkshell.section.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/build-helpers/special/mkshell.section.md b/doc/build-helpers/special/mkshell.section.md
index 96d43535955fa..e39bef7468e3b 100644
--- a/doc/build-helpers/special/mkshell.section.md
+++ b/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