nix-pills icon indicating copy to clipboard operation
nix-pills copied to clipboard

Structural: Start the language section earlier

Open hsjobeki opened this issue 3 years ago • 1 comments

Could it be possible to improve the structure of the documentation. As a reader it is not obvious how to start and what topics are needed to learn first.

I suggest the following structure:

  1. short! Introduction
  2. nix language (it is necessary)
  3. nix principles ….

Thanks in advance

hsjobeki avatar Jun 04 '22 09:06 hsjobeki

As mentioned in the preface, the pills originated as a series of blog posts and are meant to be read in order.

I would say that the language description already starts as soon as possible (pills 4 & 5):

  • Pill 1 is an introduction + principles.
  • Pill 2 is how to get Nix on your system, which you will need for playing with the language.
  • Pill 3 is what you will need to know for working with packages/derivations. And since Nix pills introduce Nix through building derivations from scratch, that is necessary too.

I guess it would be possible to move pill 3 after pill 5, since they are largely independent but I think having a chapter where the reader can do something in between learning-heavy chapters is beneficial.

jtojnar avatar Jun 04 '22 11:06 jtojnar