git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #50383 from bhipple/fix/docs

docs: fix minor grammar issues in the manual

commit36b619298070fa324c1d0a8f98493f0a75688c61 authorJörg Thalheim <Mic92@users.noreply.github.com> dateThu 15 Nov 2018, 15:48 (8 years ago) parent5de4fe9286e7a5
1 file changed+6−6
doc/stdenv.xml+6−6
doc/stdenv.xml+6−6
@@ -2077,7 +2077,7 @@ someVar=$(stripHash $name)
20772077 Nix itself considers a build-time dependency merely something that should
20782078 previously be built and accessible at build time—packages themselves are
20792079 on their own to perform any additional setup. In most cases, that is fine,
2080− and the downstream derivation can deal with it's own dependencies. But for a
2080+ and the downstream derivation can deal with its own dependencies. But for a
20812081 few common tasks, that would result in almost every package doing the same
20822082 sort of setup work---depending not on the package itself, but entirely on
20832083 which dependencies were used.
@@ -2131,10 +2131,10 @@ someVar=$(stripHash $name)
21312131 <literal>n + 1</literal> dependencies, as only those ones match the
21322132 compiler's target platform. The <envar>hostOffset</envar> variable is
21332133 defined with the current dependency's host offset
2134− <envar>targetOffset</envar> with its target offset, before it's setup hook
2135− is sourced. Additionally, since most environment hooks don't care about the
2136− target platform, That means the setup hook can append to the right bash
2137− array by doing something like
2134+ <envar>targetOffset</envar> with its target offset, before its setup hook is
2135+ sourced. Additionally, since most environment hooks don't care about the
2136+ target platform, That means the setup hook can append to the right bash array
2137+ by doing something like
21382138<programlisting language="bash">
21392139addEnvHooks "$hostOffset" myBashFunction
21402140 </programlisting>
@@ -2142,7 +2142,7 @@ addEnvHooks "$hostOffset" myBashFunction
21422142
21432143 <para>
21442144 The <emphasis>existence</emphasis> of setups hooks has long been documented
2145− and packages inside Nixpkgs are free to use these mechanism. Other packages,
2145+ and packages inside Nixpkgs are free to use this mechanism. Other packages,
21462146 however, should not rely on these mechanisms not changing between Nixpkgs
21472147 versions. Because of the existing issues with this system, there's little
21482148 benefit from mandating it be stable for any period of time.