1
0
Fork 0
mirror of https://github.com/NixOS/nix-pills synced 2024-09-19 04:00:13 -04:00
Commit graph

21 commits

Author SHA1 Message Date
James Williams 5cdd76edd5
fix: typos in 'Our First Derivation' 2023-02-23 22:06:53 +00:00
Niko Strijbol 0553e418eb
Update links to new nix manual structure 2021-11-14 16:54:12 +01:00
Artem Pelenitsyn bfcefa2a3b
06: typo 2021-01-03 22:24:09 -05:00
Dani b69de7e8bd
Fix grammar mistake 2020-05-09 10:05:23 +02:00
Wael Nasreddine cb4781d9f4
Merge branch 'master' into sa/reading-corrections-1 2020-03-09 22:49:55 -07:00
Robert James Hernandez 0991afab7d Grammatical changes for pill 06 2020-03-09 20:42:52 -07:00
user 38cee2cfcd Fix typo in pill 6 2020-03-01 17:35:17 +02:00
Florian Peter e01d2127c2 Fix reference to outdated coreutils version (#99) 2018-12-30 13:33:04 -08:00
Florian Peter 4dd6d469dc
Fix Typo 2018-12-24 08:25:17 -10:00
Maximilian Bosch bcea6b35ed
Update documentation after Nix 2.0 switch
In #89 it has been reported that the third step can't be done as
`nix-repl` doesn't evaluate anymore on 18.09 and unstable as in both
cases an evaluation error will be thrown.

First of all this may confuse new users who want to learn Nix, but don't
know the ecosystem sufficiently to understand why the install failed.

As recent NixOS versions (unstable and 18.09) use Nix 2.0 by default and
unstable doesn't evaluate with Nix 1.x anymore it should be a safe thing
to do now.

This patch covers two aspects:

* Using Nix 2.0: I replayed the installation steps with `nix-env` to
  ensure that the steps and explanations provided in the first three
  chapters are still valid.

* Replacing `nix-repl` references: most of the cases it was sufficient
  to replace `nix-repl` with the newly introduced command `nix repl`.
  In chapter three `nix-repl` was used to demonstrate the installation
  of a package with `nix-env`. I decided to use `nix-index` as demo
  package as I figured this tool to be extremely helpful to locate
  packages by output files.

  The explanation that Nix is not only a tool for package/derivation
  management, but a functional language as well was moved to chapter
  four where the basics of the language were actually covered.

This change is just a first step towards an updated series, in the
future we may want to use even more Nix 2.0 features (such as
`nix-build` vs. `nix build` with `nix log`).

Fixes #89
Possibly supersedes #71
2018-12-08 00:10:40 +01:00
exyi 244a654359
Fixed typo 2018-10-20 18:54:12 +00:00
Nicolas Dudebout 02de50625b replace indent with nix show-derivation 2018-04-06 23:30:28 -04:00
Jörg Thalheim 8a968c8590 replace non-longer present pp-aterm with indent
fixes #53
2018-03-31 17:00:18 +01:00
Kirill Zaborsky 8aa0f1de3c
Missed space 2017-11-25 22:13:56 +03:00
Graham Christensen dc5bcc6b1e
Title case and some whitespace fixups 2017-08-22 08:19:43 -04:00
Matan Bendix Shenhav e228652410 Fixed indentation in pills 5 & 6, replaced trollface by ;) 2017-08-17 01:25:22 +03:00
Matan Bendix Shenhav e302529c5f Ported Pill 6. 2017-08-13 19:30:56 +03:00
Graham Christensen 7768b7e7d6
update titles 2017-08-11 22:42:49 -04:00
Graham Christensen 62f5d3a86b
Change parts to chapters 2017-08-11 21:41:14 -04:00
Graham Christensen b42bb25139
fix up part IDs 2017-08-11 18:23:53 -04:00
Graham Christensen 02a33601c5
Initial commit of nix pills 2017-08-11 18:22:51 -04:00