diff options
author | Silvan Mosberger <contact@infinisil.com> | 2024-01-18 16:10:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-18 16:10:21 +0100 |
commit | dc30cf4f88b3697cace3f76f48c38a41ec091b90 (patch) | |
tree | 823237ec5c42a80483e394470f8109e78369eb4a /doc/build-helpers | |
parent | 0a344117b133c561bb7bde8ea6a92311dd748306 (diff) | |
parent | 8c65bdc334264c53cf1b8853d17c8817b304d594 (diff) |
Merge pull request #259567 from Eisfunke/document-mkShellNoCC
doc: add section about mkShellNoCC
Diffstat (limited to 'doc/build-helpers')
-rw-r--r-- | doc/build-helpers/special/mkshell.section.md | 4 |
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 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 |