website: package-channel: Fix typos, follow suggestions.
Thanks to Attila and bjc on #guix. * website/drafts/package-channel.md: Fix typos, follow suggestions.
This commit is contained in:
parent
dbc448b94a
commit
0eb014a4bd
|
@ -31,7 +31,7 @@ seen, will be to add a `guix.scm` at the root of the repository we’re
|
|||
interested in. We’ll take [Guile](https://www.gnu.org/software/guile)
|
||||
as an example in this post: it’s written in Scheme (mostly) and C, and
|
||||
has a number of dependencies—a C compilation tool chain, C libraries,
|
||||
Autoconf and its friends, LaTeX, and so on. The resulting `guix.scm` is
|
||||
Autoconf and its friends, LaTeX, and so on. The resulting `guix.scm`
|
||||
looks like the usual [package
|
||||
definition](https://guix.gnu.org/manual/en/html_node/Defining-Packages.html),
|
||||
just without the `define-public` bit:
|
||||
|
@ -118,7 +118,7 @@ listed above, but also _implicit dependencies_ such as the GCC tool
|
|||
chain, GNU Make, sed, grep, and so on. The chef’s recommendation:
|
||||
|
||||
```
|
||||
guix shell -CP
|
||||
guix shell --container --link-profile
|
||||
```
|
||||
|
||||
That gives a shell in an isolated container, and all the dependencies
|
||||
|
@ -224,9 +224,9 @@ and that’s exactly what we’re doing with our `guix.scm`. Granted, our
|
|||
Git repository is one package definition lost in a sea of code—in this
|
||||
case, Guile—, but still.
|
||||
|
||||
Turns out we can indeed turn into a channel, but with one caveat: we
|
||||
Turns out we can indeed turn it into a channel, but with one caveat: we
|
||||
must create a separate directory for the `.scm` file(s) of our channel
|
||||
so that `guix pull` doesn’t end loading unrelated `.scm` files when
|
||||
so that `guix pull` doesn’t load unrelated `.scm` files when
|
||||
someone pulls the channel—and in Guile, there are lots of them! So
|
||||
we’ll start like this, keeping a top-level `guix.scm` symlink for the
|
||||
sake of `guix shell`:
|
||||
|
@ -458,7 +458,7 @@ channels providing a number of *jobs*—one job per package defined in
|
|||
|
||||
As for substitutes, they come for free! As an example, our `guile`
|
||||
jobset being built on ci.guix.gnu.org, one automatically gets
|
||||
substitutes for it from ci.guix.gnu.org. It’s as simple as this.
|
||||
substitutes for it from ci.guix.gnu.org. It’s as simple as that.
|
||||
|
||||
# Bonus: Build manifest
|
||||
|
||||
|
|
Loading…
Reference in New Issue