Commit graph

378 commits

Author SHA1 Message Date
Sergei Trofimovich
a2a1262326
Merge pull request #180 from skvadrik/master
Clarify how lazy evaluation helps to escape infinite co-recursion.
2022-06-02 17:39:44 +00:00
Artturi
47bde1fda3
Merge pull request #108 from DanBurton/bintools-fix
Fix some code samples referring to binutils
2022-04-17 14:27:28 +03:00
Artturi
e0208616ba
Merge pull request #173 from nielsegberts/not_undefined_b
`b` is already defined in section 4.7 if the user follows along in the repl
2022-04-17 14:21:22 +03:00
Artturi
91487934e2
Merge pull request #175 from rski/gc-roots
update GC pill to not mention gcroots/profiles
2022-04-17 13:27:05 +03:00
Brad Fitzpatrick
0cf3dcd880
Fix a few typos (#191) 2022-01-12 00:51:36 +01:00
Bruno Inec
644b7da83b
Fix typo in 8th pill (#190) 2022-01-02 23:53:37 +01:00
tkiat
aae164dc7c Trivial Typo 2021-12-09 21:23:21 -08:00
Domen Kožar
be0418fb0d
Merge pull request #187 from tfc/fix-pill-12
Fix pill 12 derivations so that PNG support works
2021-12-02 19:28:14 +00:00
Jacek Galowicz
f141e96502 Fix pill 12 derivations so that PNG support works 2021-12-02 18:27:44 +00:00
Jan Tojnar
7500299dee Add simple CI workflow 2021-11-26 22:02:58 +01:00
Niklas Hambüchen
5e4c33e26a Bulitin functions are now documented in the nix manual 2021-11-26 16:35:02 +01:00
Artturi
57b7fe8bf8
Merge pull request #182 from jtojnar/no-aliases 2021-11-22 19:20:12 +02:00
Artturi
e7cb9bfd8c
Merge pull request #183 from jtojnar/broken-links 2021-11-22 19:18:48 +02:00
Artturi
7c1436a971
Merge pull request #184 from jtojnar/no-one-click 2021-11-22 19:16:27 +02:00
Jan Tojnar
847ff3ca52 Remove one-click install reference
Fixes: https://github.com/NixOS/nixpkgs/issues/34745
2021-11-22 17:42:47 +01:00
Jan Tojnar
8635eea7cc Fix another broken link
Checked with `linkchecker --config=<(echo '[AnchorCheck]') --check-extern result/share/doc/nix-pills/*.html`
2021-11-22 17:34:40 +01:00
Jan Tojnar
b46509caec build: Do not use package aliases 2021-11-22 17:30:55 +01:00
Domen Kožar
921d5d07cf
Merge pull request #181 from niknetniko/master
Update links to new nix manual structure
2021-11-22 17:29:00 +01:00
Niko Strijbol
729e470ad6
Update pills/07-working-derivation.xml
Co-authored-by: lewo <lewo@abesis.fr>
2021-11-15 10:12:05 +01:00
Niko Strijbol
0553e418eb
Update links to new nix manual structure 2021-11-14 16:54:12 +01:00
Ulya Trofimovich
36252cb882 Clarify how lazy evaluation helps to escape infinite co-recursion.
In pill 13 `callPackage` and `pkgs` are defined co-recursively. The
author notes thas this is possible due to lazy evaluation, but for some
readers this may be confusing (as if lazy evaluation was some kind of
magic that makes infinite recursion not a problem).
2021-10-28 22:29:52 +01:00
mt_caret
b089684f6a
Add link to current NixOS Wiki and fix awkward wording (#149)
Currently, "1.2. Rationale for this series" starts out with the following sentence, which seems a bit odd:

The Nix, Nixpkgs, and NixOS manuals; and wiki are excellent resources for explaining how Nix/NixOS works, how you can use it, and the number of cool things being done with it.

Turns out 4d0c1d2 removes an item followed by a semicolon. This commit fixes the issue by removing the semicolon and also adds a link to the current NixOS Wiki.
2021-10-27 11:06:38 +02:00
Cody Hiar
073c8e0c82
Minor typos in pill 9 (#163)
* Minor typos in pill 9

Co-authored-by: John Ericson <git@JohnEricson.me>
2021-10-27 10:56:24 +02:00
Michele Guerini Rocco
d0a93ec5f2
Merge pull request #177 from skvadrik/master
Make command output coherent with its text description.
2021-10-26 19:38:51 +02:00
Domen Kožar
abfcea0982
Merge pull request #178 from trofi/master
.travis.yml: drop non-working travis-ci integration
2021-10-26 12:08:16 -05:00
Sergei Trofimovich
c497c0991c .travis.yml: drop non-working travis-ci integration
All new pull requests get stuck in Travis CI checks since
last year. Let's drop Travis CI integration.
2021-10-21 21:15:02 +01:00
Ulya Trofimovich
abb593509e Make command output coherent with its text description.
Command 'nix-store -q --referrers `which hello`' should list two
environments as described in the text: "Two environments were listed..."
Add a second environment and a manifest to the command output (hashes
were taken from the command output when trying to replay pill 3 steps on
a local system).
2021-10-20 15:56:25 +01:00
Romanos Skiadas
8e69e5e771 update GC pill to not mention gcroots/profiles
This was removed in 2013 from nix v1.6. Don't point readers of the
pills towards a link that no longer is there.

fixes #105
2021-09-28 08:22:13 +03:00
Niels Egberts
883191c91d Output of declare -xp is no longer visible in the repl
Instead nix-store --read-log can be used to see the environment variables.
2021-07-10 15:01:18 +01:00
Niels Egberts
a96a0a35cc b is already defined if the user follows along in the repl
If a user follows along in the repl, the error won't occur as in section 4.6 the number 4 is assigned to `b`. To make this slightly less confusing and have the error appear as the user is following along we have to use a new variable.
2021-07-01 23:09:26 +01:00
Michele Guerini Rocco
f1acd7ed9f
Merge pull request #170 from gameboo/master
missing word in 09
2021-02-21 13:55:42 +01:00
gameboo
cd4a5bbd1f Fixed typo in 09 2021-02-21 02:18:16 +00:00
lewo
c4ba2bf21b
Merge pull request #168 from Zebreus/master
Fixed minor typos in 04
2021-01-23 16:41:18 +01:00
Zebreus
389c8e117b Fixed typo in 04 2021-01-23 15:52:31 +01:00
Zebreus
6daf30c240 Fixed typo in 04 2021-01-23 15:52:21 +01:00
Michele Guerini Rocco
095d4767b6
Merge pull request #167 from ulysses4ever/patch-1
06: typo
2021-01-04 07:36:50 +01:00
Artem Pelenitsyn
bfcefa2a3b
06: typo 2021-01-03 22:24:09 -05:00
Michele Guerini Rocco
1d0b345924
Merge pull request #164 from bobrik/ivan/nix-repl-typo
Typo fix: nix-repl -> nix repl
2020-12-11 21:33:32 +01:00
Ivan Babrou
a080fa1e33 Typo fix: nix-repl -> nix repl 2020-12-11 09:56:49 -08:00
Michele Guerini Rocco
d9da7b5869
Merge pull request #165 from bobrik/ivan/xlib-to-xorg
Update pill 17 with xlib -> xorg
2020-12-11 09:11:14 +01:00
Ivan Babrou
0c16c18599 Update pill 17 with xlib -> xorg 2020-12-10 20:46:51 -08:00
Sylvain Bellemare
6aeb856c56 Re-word "modified setup.sh" in pill 10
Since `setup.sh` is a new addition, it makes more sense to not use the
word "modified", as it did not exist before :).
2020-12-08 11:44:35 -08:00
Jelle Besseling
694f178852 Reorder words so sentence makes more sense 2020-12-08 10:08:44 -08:00
Nikita Eshkeev
bf8fea53f3 Update 11-garbage-collector.xml
Fix a typo
2020-12-05 16:44:04 -08:00
Sylvain Bellemare
9f477d2d1e Add missing beginning of sentence
See
https://lethalman.blogspot.com/2014/08/nix-pill-12-inputs-design-pattern.html
for original post on which the correction is based.
2020-10-08 18:34:26 -07:00
Michele Guerini Rocco
50f4f42807
Merge pull request #158 from sbellem/link-to-operators
Update link for the `//` operator
2020-10-08 02:43:25 +02:00
Sylvain Bellemare
af2be25454
Update link for the // operator
The previous link leads to the top of the guide whereas the updated link
leads to Section *15.3 Operators* where one can quickly find the row in
the table that presents the `//` operator.
2020-10-07 23:33:59 +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
Doron Behar
aa975b1bbc
Merge pull request #156 from sbellem/fix-typo
Add missing "about" word
2020-10-07 17:34:55 +03:00
Sylvain Bellemare
fe5dfacb7a
Add missing "about" word 2020-10-07 15:21:41 +01:00