~cdrozak/cdro-wiki

ed5a44738c2523f75861aed060287cc8e7bf54c8 — Cezary Drożak 2 months ago 084d8a1
nix: add "Documentation" section
1 files changed, 16 insertions(+), 0 deletions(-)

M nix.md
M nix.md => nix.md +16 -0
@@ 7,6 7,22 @@ distribution based on them called NixOS. The package repository which also
contains several useful functions, is called Nixpkgs. This article concerns all
of them.

# Documentation

Since similar names mean different things, it can be confusing where to look
for information. Here are my sources of information:

- [Nix Reference Manual][1] —
- [Nixpkgs Manual (official)][2] — The official Nixpkgs manual. Its styling
  makes it quite difficult to read.
- [Nixpkgs Manual (ryantm)][3] — Contains the same content as the previous
  website, but in a more clear way. The downside is that it doesn't let change
  between versions.

[1]: https://nixos.org/manual/nix/stable/
[2]: https://nixos.org/manual/nixpkgs/stable/
[3]: https://ryantm.github.io/nixpkgs/

# Adding sources using an allowlist

When creating a derivation it can be desirable to add single files instead of