1
0
Fork 0
mirror of https://github.com/NixOS/nix-pills synced 2024-09-19 04:00:13 -04:00

Grammatical changes for pill 09

This commit is contained in:
Robert James Hernandez 2020-02-25 22:23:45 -08:00
parent f49d9f4848
commit d4d4a9106c

View file

@ -149,8 +149,8 @@
</para> </para>
<para> <para>
Not only, even after reducing the rpath the hello binary would still Even after reducing the rpath the hello binary would still depend
depend upon gcc. Because of debugging information. For that, the well upon gcc. This is because of debugging information. To fix is the well
known <command>strip</command> can be used. known <command>strip</command> can be used.
</para> </para>
</section> </section>
@ -227,9 +227,9 @@
<para> <para>
The package is self-contained, copy its closure on another machine and The package is self-contained, copy its closure on another machine and
you will be able to run it. I remind you the very few components under you will be able to run it. Remember, only a very few components under
the <filename>/nix/store</filename> necessary to run nix the <filename>/nix/store</filename> are required to
<link linkend="install-on-your-running-system">when we installed it</link>. <link linkend="install-on-your-running-system">run nix</link>.
The hello binary will use that exact version of glibc library and The hello binary will use that exact version of glibc library and
interpreter, not the system one: interpreter, not the system one:
</para> </para>
@ -248,13 +248,13 @@
<para> <para>
Short post compared to previous ones as I'm still on vacation, but I hope Short post compared to previous ones as I'm still on vacation, but I hope
you enjoyed it. Nix provides tools with cool features. In particular, Nix you enjoyed it. Nix provides tools with cool features. In particular, Nix
is able to compute all runtime dependencies automatically for us. Not is able to compute all runtime dependencies automatically for us. This is
only shared libraries, but also referenced executables, scripts, Python not limited to only shared libraries, but also referenced executables,
libraries etc.. scripts, Python libraries etc..
</para> </para>
<para> <para>
This makes packages self-contained, because we're sure (apart data and This makes packages self-contained, ensuring (apart data and
configuration) that copying the runtime closure on another machine is configuration) that copying the runtime closure on another machine is
sufficient to run the program. That's why Nix has sufficient to run the program. That's why Nix has
<link xlink:href="https://nixos.org/nix/manual/#ch-relnotes-0.8">one-click install</link>, <link xlink:href="https://nixos.org/nix/manual/#ch-relnotes-0.8">one-click install</link>,
@ -268,9 +268,9 @@
<title>Next pill</title> <title>Next pill</title>
<para> <para>
...we will introduce nix-shell. With nix-build we build derivations ...we will introduce nix-shell. With nix-build we always build
always from scratch: the source gets unpacked, configured, built and derivations from scratch: the source gets unpacked, configured, built
installed. But this may take a long time, think of WebKit. What if we and installed. But this may take a long time, think of WebKit. What if we
want to apply some small changes and compile incrementally instead, yet want to apply some small changes and compile incrementally instead, yet
keeping a self-contained environment similar to nix-build? keeping a self-contained environment similar to nix-build?
</para> </para>