doc: link, instead of just mentioning, Nix manual (#255126)

Instead of just telling the reader to go find the relevant section of the Nix
manual, let's just link to it. Yay hypertext!
This commit is contained in:
asymmetric
2023-09-14 17:09:39 +02:00
committed by GitHub
parent a29cf4aece
commit b414f942e0
4 changed files with 6 additions and 5 deletions

View File

@@ -716,8 +716,8 @@ We've now seen how to create an ad-hoc temporary shell session, and how to
create a single script with Python dependencies, but in the course of normal
development we're usually working in an entire package repository.
As explained in the Nix manual, `nix-shell` can also load an expression from a
`.nix` file. Say we want to have Python 3.11, `numpy` and `toolz`, like before,
As explained [in the `nix-shell` section](https://nixos.org/manual/nix/stable/command-ref/nix-shell) of the Nix manual, `nix-shell` can also load an expression from a `.nix` file.
Say we want to have Python 3.11, `numpy` and `toolz`, like before,
in an environment. We can add a `shell.nix` file describing our dependencies:
```nix