i97henka
04337a7e63
changing to using builtins derivation and rename
...
renaming to mkDerivation
2023-06-05 21:42:34 +01:00
Henrik
f316006776
Update autotools-nix.txt
2023-06-04 21:21:52 +01:00
Henrik
6cdbf50683
Update autotools-nix.txt
2023-06-04 21:21:20 +01:00
i97henka
b1a8646ce9
updated darwin version accordingly.
...
not tested
2023-06-04 00:07:16 +01:00
i97henka
6bce7954ef
improved indentation
2023-06-04 00:04:42 +01:00
i97henka
5bafd468eb
changed function name mymkDerivation
...
to avoid collision & confusion with standard function.
2023-06-04 00:01:01 +01:00
i97henka
73658ddd83
updated third version of hello file.
2023-06-03 23:48:26 +01:00
i97henka
d4deaeaebe
updated autotools.nix - reduced scope of with.
2023-06-03 23:41:45 +01:00
i97henka
a826d304a0
changing hello.nix
...
NB Darwin variant still outstanding.
2023-06-03 16:28:36 +01:00
i97henka
b865367523
updating builder new hello version.
2023-06-03 16:20:54 +01:00
i97henka
9ebdbda7a9
updated hello tar gz link.
2023-06-03 15:43:56 +01:00
Henrik
29e1e273b8
with removed from first line ( #213 )
...
* with removed from first line
example no longer starts with with (import <nixpkgs> {});
* added inherit example and comments.
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-06-02 18:17:10 +02:00
Valentin Gagarin
4d59f3bb11
Merge pull request #206 from henrik-ch/remove-install-instructions
...
removing installation instructions
2023-04-06 18:12:56 +02:00
Valentin Gagarin
a6cf5ed410
fix wording
2023-04-06 18:12:34 +02:00
Markus Fuchs
f95dd06a92
Pill 13: Fix typo in repository derivation snippet
2023-04-05 20:57:17 +02:00
Sergei Trofimovich
2f263f3a66
Merge pull request #210 from mistydemeo/wrapped_hello_permissions
...
Pill 20: allow wrapped hello to be executed
2023-03-31 23:13:23 +01:00
Misty De Méo
560d0beac7
Pill 20: allow wrapped hello to be executed
...
As written, this produces a script without the execute bit
set, which may confuse users who want to try actually running
it after building.
2023-03-31 14:32:39 -07:00
Misty De Méo
d12bd1b71d
Pill 17: fix asciidoc-full name
...
Attempting to build this as specified in the current docs
fails with the error:
nix-repl> :b pkgs.asciidocFull
error: 'asciidocFull' has been renamed to/replaced by 'asciidoc-full'
2023-03-31 09:58:53 -07:00
Misty De Méo
175f64b37d
Pill 17: fix graphviz xorg override
...
In the current version of nix, overriding `xorg = null;`
no longer seems to work; overriding the `withXorg` attribute
allows it to pass instead.
2023-03-30 17:16:27 -07:00
Misty De Méo
059c9bed55
Pill 8: fix Darwin reference to binutils
...
The Darwin nix still assigns to `binutils`, even though the
builder itself was updated to point to `bintools` in
ce931b9697
. Fixing this ensures
the hello example actually builds on Darwin.
2023-03-28 13:57:29 -07:00
i97henka
f0474ddd7f
removing installation instructions
...
Instead refering to original link which links to the
Nix manual.
2023-03-26 17:18:45 +01:00
Cyrus Yip
ec09dd0d1b
Use HTTPS links in 8th pill
...
HTTPS is safer.
2023-03-09 21:05:02 +08:00
James Williams
5cdd76edd5
fix: typos in 'Our First Derivation'
2023-02-23 22:06:53 +00:00
Jörg Thalheim
a044b2824d
Merge pull request #174 from nielsegberts/declare
...
Output of declare -xp is no longer visible in the repl
2023-01-10 08:28:54 +01:00
Yonathan Randolph
3dd74978f3
Fix link to reference to config.nix again
...
In 2815ca0fab
I accidentally changed a config.nix link to point to the fix definition instead. This commit reverts that part of the previous commit.
2022-06-28 14:36:05 -07:00
Yonathan Randolph
2815ca0fab
Fix link to fix function in nixpkgs source
...
Link to today's permalink at github instead of master. The fix function was moved from trivial.nix to fixed-points.nix
87b4a91fc4
2022-06-28 14:12:30 -07:00
Yonathan Randolph
ddd0a63dac
Fix links to config.nix in source
...
Link to today's permalink at github instead of master. When this was originally written, ~/.nixpkgs/config.nix was loaded by all-packages.nix. But this was moved to pkgs/top-level/default.nix and then to pkgs/top-level/impure.nix
ad31783405
4af2bf6663
2022-06-28 13:48:16 -07:00
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
Jacek Galowicz
f141e96502
Fix pill 12 derivations so that PNG support works
2021-12-02 18:27:44 +00:00
Niklas Hambüchen
5e4c33e26a
Bulitin functions are now documented in the nix manual
2021-11-26 16:35:02 +01:00
Artturi
e7cb9bfd8c
Merge pull request #183 from jtojnar/broken-links
2021-11-22 19:18:48 +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
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
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
gameboo
cd4a5bbd1f
Fixed typo in 09
2021-02-21 02:18:16 +00:00
Zebreus
389c8e117b
Fixed typo in 04
2021-01-23 15:52:31 +01:00