mirror of
https://github.com/NixOS/nix-pills
synced 2024-09-19 04:00:13 -04:00
remove stdenv references
`stdenv` has not yet been mentioned in this tutorial and the target audience (people new to nix) will not know what it is. It shouldn't be mentioned until it is properly described (as it is in pill 19).
This commit is contained in:
parent
a26be5a2b9
commit
924f05fa2e
|
@ -49,7 +49,7 @@
|
|||
|
||||
<screen><xi:include href="./08/hello-nix.txt" parse="text" /></screen>
|
||||
<note><title>Nix on darwin</title>
|
||||
<para>The darwin (i.e. macOS) <literal>stdenv</literal> diverges from the Linux <literal>stdenv</literal> in several ways. A main difference is that the darwin <literal>stdenv</literal> relies upon <literal>clang</literal> rather than <literal>gcc</literal> as its C compiler. We can adapt this early example of how a <literal>stdenv</literal> works for darwin by using this modified version of <filename>hello.nix</filename>:
|
||||
<para>Darwin (i.e. macOS) relies upon <literal>clang</literal> rather than <literal>gcc</literal> as its C compiler. We can adapt this early example for darwin by using this modified version of <filename>hello.nix</filename>. Later we will show how nix can automatically handle these differences.
|
||||
<screen><xi:include href="./08/hello-nix-darwin.txt" parse="text" /></screen>
|
||||
Please be aware that similar changes may be needed in what follows.
|
||||
</para>
|
||||
|
|
Loading…
Reference in a new issue