Merge pull request #259567 from Eisfunke/document-mkShellNoCC

doc: add section about mkShellNoCC
This commit is contained in:
Silvan Mosberger 2024-01-18 16:10:21 +01:00 committed by GitHub
commit dc30cf4f88
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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