apostrophe

This commit is contained in:
Amy de Buitléir 2023-12-03 20:06:24 +00:00
parent 8c5b4f474c
commit b260903e7e

View file

@ -1,6 +1,6 @@
= The hello-flake repo
Lets clone the repository and see how the flake is defined.
Let's clone the repository and see how the flake is defined.
....
$ git clone https://codeberg.org/mhwombat/hello-flake
@ -14,7 +14,7 @@ which provides information about the repo.
The `hello-flake` file is the executable we ran earlier.
This particular executable is just a shell script, so we can view it.
Its an extremly simple script with just two lines.
It's an extremely simple script with just two lines.
[source,bash,linenums]
.hello-flake
@ -31,9 +31,9 @@ $ ./hello-flake
Not terribly exciting, I know. But starting with such a simple package
makes it easier to focus on the flake system without getting bogged down
in the details. Well make this script a little more interesting later.
in the details. We'll make this script a little more interesting later.
Lets look at another file. The file that defines how to package a flake
Let's look at another file. The file that defines how to package a flake
is always called `flake.nix`.
[source,nix,linenums]
@ -46,7 +46,7 @@ If this is your first time seeing a flake definition, it probably looks
intimidating.
Flakes are written in the Nix language, introduced in an earlier chapter.
However, you don't really need to know Nix to follow this example.
For now, Id like to focus on the inputs section.
For now, I'd like to focus on the inputs section.
[source,nix]
....
@ -63,7 +63,7 @@ packages that can be installed with the Nix package manager. The second,
flakes. The important thing to note is that the `hello-flake` package
_depends_ on `nixpkgs` and `flake-utils`.
Finally, lets look at `flake.lock`, or rather, just part of it.
Finally, let's look at `flake.lock`, or rather, just part of it.
[source,linenums]
.flake.lock