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

23 commits

Author SHA1 Message Date
Brad Fitzpatrick 0cf3dcd880
Fix a few typos (#191) 2022-01-12 00:51:36 +01:00
Niko Strijbol 0553e418eb
Update links to new nix manual structure 2021-11-14 16:54:12 +01:00
Sylvain Bellemare 5d1e0e1af4 Change install arg from man to man-db
The install command `nix-env -i man` does not work as `man` is the
*attribute name* meanwhile the command expects the derivation name which
is `man-db`. If using the attribute name then the command should use the
`{--attr | -A}` option and pass the attribute path, e.g.:
`nix-env -iA nixpkgs.man`.
2020-10-07 13:57:20 -07:00
Tae Sandoval 0fd8c234bd Update manuals' links 2019-10-08 22:20:12 +02:00
Steven Hepting 1d1b2548a0
Spelling fix for learned. 2019-09-10 16:46:19 -07:00
Amy de Buitléir 63d6614e5c Clarify steps for NixOS users 2018-12-23 21:44:05 +00:00
Amy de Buitléir 0bfa4ee1f8 Added clarification for NixOS users 2018-12-11 20:02:41 +00:00
Amy de Buitléir 3401e116b2 Added link to cheatsheet 2018-12-10 00:45:28 +00:00
Amy de Buitléir 81f2324f49
Update 03-enter-environment.xml
Added reference to cheatsheet.
2018-12-10 00:24:00 +00: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
Stanislav Lukeš d10af5b212
Fixed typo in 03-enter-environment.xml 2018-10-10 14:29:34 +00:00
Michael Peyton Jones b4016e85b0 Pills 2-4: edit for style and clarity 2017-11-18 16:22:14 +00:00
Graham Christensen 7473fc087c
Clarify #3.3, closes #22 2017-11-15 21:54:06 -05:00
Fatih Altinok 62b39f7ef6 Fix incorrect path 2017-10-22 11:52:24 +03:00
Graham Christensen 8407dc900d Merge pull request #11 from efx/master
03: fix dead links uninstall/upgrade, change word
2017-10-20 07:46:00 -04:00
Eli Flanagan abee780467 fix dead links, change word 2017-10-18 09:56:29 -04:00
Anton Latukha 19756bf0ff 03: nix-store: --tree and -r mutually exclusive #2 2017-10-15 17:15:47 +03:00
Graham Christensen dc5bcc6b1e
Title case and some whitespace fixups 2017-08-22 08:19:43 -04:00
Justin Wood 29ad2bc0de
Port pill #3 2017-08-12 22:13:47 -04: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