about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorBenjamin Hipple <bhipple@protonmail.com>2018-11-14 21:40:47 -0500
committerBenjamin Hipple <bhipple@protonmail.com>2018-11-14 21:40:47 -0500
commit286e7a57c4984eeb0d39bfac6e6078b404e07482 (patch)
tree93380a3e91130c817b508573f33dc43a45030773 /doc
parent61d41d7225e070b2be80e6f5fb13083352a42b43 (diff)
downloadnixlib-286e7a57c4984eeb0d39bfac6e6078b404e07482.tar
nixlib-286e7a57c4984eeb0d39bfac6e6078b404e07482.tar.gz
nixlib-286e7a57c4984eeb0d39bfac6e6078b404e07482.tar.bz2
nixlib-286e7a57c4984eeb0d39bfac6e6078b404e07482.tar.lz
nixlib-286e7a57c4984eeb0d39bfac6e6078b404e07482.tar.xz
nixlib-286e7a57c4984eeb0d39bfac6e6078b404e07482.tar.zst
nixlib-286e7a57c4984eeb0d39bfac6e6078b404e07482.zip
docs: fix minor grammar issues in the manual
Diffstat (limited to 'doc')
-rw-r--r--doc/stdenv.xml12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/stdenv.xml b/doc/stdenv.xml
index ef45ec301a6b..d27adc0de5a6 100644
--- a/doc/stdenv.xml
+++ b/doc/stdenv.xml
@@ -2077,7 +2077,7 @@ someVar=$(stripHash $name)
    Nix itself considers a build-time dependency merely something that should
    previously be built and accessible at build time—packages themselves are
    on their own to perform any additional setup. In most cases, that is fine,
-   and the downstream derivation can deal with it's own dependencies. But for a
+   and the downstream derivation can deal with its own dependencies. But for a
    few common tasks, that would result in almost every package doing the same
    sort of setup work---depending not on the package itself, but entirely on
    which dependencies were used.
@@ -2131,10 +2131,10 @@ someVar=$(stripHash $name)
    <literal>n + 1</literal> dependencies, as only those ones match the
    compiler's target platform. The <envar>hostOffset</envar> variable is
    defined with the current dependency's host offset
-   <envar>targetOffset</envar> with its target offset, before it's setup hook
-   is sourced. Additionally, since most environment hooks don't care about the
-   target platform, That means the setup hook can append to the right bash
-   array by doing something like
+   <envar>targetOffset</envar> with its target offset, before its setup hook is
+   sourced. Additionally, since most environment hooks don't care about the
+   target platform, That means the setup hook can append to the right bash array
+   by doing something like
 <programlisting language="bash">
 addEnvHooks "$hostOffset" myBashFunction
   </programlisting>
@@ -2142,7 +2142,7 @@ addEnvHooks "$hostOffset" myBashFunction
 
   <para>
    The <emphasis>existence</emphasis> of setups hooks has long been documented
-   and packages inside Nixpkgs are free to use these mechanism. Other packages,
+   and packages inside Nixpkgs are free to use this mechanism. Other packages,
    however, should not rely on these mechanisms not changing between Nixpkgs
    versions. Because of the existing issues with this system, there's little
    benefit from mandating it be stable for any period of time.