doc: add section about mkShellNoCC

This commit is contained in:
Nicolas Lenz 2023-10-07 12:58:18 +02:00
parent 6fcebe85fb
commit 8c65bdc334
No known key found for this signature in database

View File

@ -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