From 8c65bdc334264c53cf1b8853d17c8817b304d594 Mon Sep 17 00:00:00 2001 From: Nicolas Lenz Date: Sat, 7 Oct 2023 12:58:18 +0200 Subject: [PATCH] doc: add section about mkShellNoCC --- doc/build-helpers/special/mkshell.section.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/build-helpers/special/mkshell.section.md b/doc/build-helpers/special/mkshell.section.md index 96d43535955f..e39bef7468e3 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