Skip to content

Commit

Permalink
Add note about using nix show-derivation instead
Browse files Browse the repository at this point in the history
removing broken link for writing expressions.

Replacing with nix.dev language basics link.
(not a 100% substitute)
  • Loading branch information
woutdp authored and henrik-ch committed Jan 6, 2024
1 parent 7f7d68b commit 79fc2bb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions pills/02-install-on-your-running.xml
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,9 @@
parse="text" /></screen>

<para>
<link
xlink:href="https://nixos.org/manual/nix/stable/expressions/writing-nix-expressions.html">Nix
expressions</link> are used to describe packages and how to
Nix expressions are written in the nix language <link
xlink:href="https://nix.dev/tutorials/nix-language">nix
language</link> and used to describe packages and how to
build them. <link
xlink:href="https://nixos.org/nixpkgs/">Nixpkgs</link> is the
repository containing all of the expressions: <link
Expand Down
5 changes: 4 additions & 1 deletion pills/06-our-first-derivation.xml
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,11 @@
better to pretty print it:
</para>

<xi:include href="./06/show-derivation.xml" />
<note><para>
If your version of nix doesn't have <literal>nix derivation show</literal>, use <literal>nix show-derivation</literal> instead.
</para></note>

<xi:include href="./06/show-derivation.xml" />

<para>
Ok, we can see there's an out path, but it does not exist yet. We never told
Expand Down

0 comments on commit 79fc2bb

Please sign in to comment.