diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2018-10-26 09:12:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-26 09:12:45 +0100 |
commit | a8df9ff9d9a7bea21f9a2bcef245ae1e2e0d0d0f (patch) | |
tree | 3792f8f9ed3d2a75477fea187ead87a8839d5b80 /doc | |
parent | 6021a94062f9740591e858996984089317b51c13 (diff) | |
parent | aa77e3aa4f726f204d897fd3f689e2c6e14b7a64 (diff) | |
download | nixlib-a8df9ff9d9a7bea21f9a2bcef245ae1e2e0d0d0f.tar nixlib-a8df9ff9d9a7bea21f9a2bcef245ae1e2e0d0d0f.tar.gz nixlib-a8df9ff9d9a7bea21f9a2bcef245ae1e2e0d0d0f.tar.bz2 nixlib-a8df9ff9d9a7bea21f9a2bcef245ae1e2e0d0d0f.tar.lz nixlib-a8df9ff9d9a7bea21f9a2bcef245ae1e2e0d0d0f.tar.xz nixlib-a8df9ff9d9a7bea21f9a2bcef245ae1e2e0d0d0f.tar.zst nixlib-a8df9ff9d9a7bea21f9a2bcef245ae1e2e0d0d0f.zip |
Merge pull request #49126 from das-g/stdenv-docs
minor fixes in Nixpkgs stdenv docs
Diffstat (limited to 'doc')
-rw-r--r-- | doc/stdenv.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/stdenv.xml b/doc/stdenv.xml index c3b155ab0e9f..4f121e328cb7 100644 --- a/doc/stdenv.xml +++ b/doc/stdenv.xml @@ -372,7 +372,7 @@ let f(h, h + 1, i) = i + h They are programs/libraries used at build time that furthermore produce programs/libraries also used at build time. If the dependency doesn't care about the target platform (i.e. isn't a compiler or similar tool), - put it in <varname>nativeBuildInputs</varname>instead. The most common + put it in <varname>nativeBuildInputs</varname> instead. The most common use for this <literal>buildPackages.stdenv.cc</literal>, the default C compiler for this role. That example crops up more than one might think in old commonly used C libraries. @@ -2100,7 +2100,7 @@ someVar=$(stripHash $name) <para> In order to alleviate this burden, the <firstterm>setup - hook></firstterm>mechanism was written, where any package can include a + hook</firstterm> mechanism was written, where any package can include a shell script that [by convention rather than enforcement by Nix], any downstream reverse-dependency will source as part of its build process. That allows the downstream dependency to merely specify its dependencies, and |