eunsukimme
27cdc89c18
docs: edit tutorial command line at Nested shell sessions on Ad hoc shell environment page
2023-05-14 18:55:57 +09:00
Valentin Gagarin
43b2887c3e
reword introduction to first steps tutorials
...
this more closely matches the current contents
2023-05-12 07:38:06 +02:00
Valentin Gagarin
ac5b6c2a41
clarify notes on reading files
...
placeholders were referred to before showing the example, this is probably confusing
2023-05-11 18:49:29 +02:00
Valentin Gagarin
2bc7e57227
reword note on default.nix
2023-05-11 18:40:27 +02:00
Valentin Gagarin
964b3cf2e1
update Nix version in tutorial
...
this is the one currently in nixpkgs-unstable
2023-05-11 18:39:50 +02:00
Zach Mitchell
4ed3b9ceb8
Remove nesting, add tutorial series description
2023-05-09 22:36:30 -06:00
Zach Mitchell
b573def109
Set the structure of the tutorials section
2023-05-07 09:08:04 -06:00
Zach Mitchell
8313ca8824
Fix link to renamed anchor
2023-05-06 12:39:39 -06:00
LX
fc1cad935a
add details about import
( #506 )
...
Add information about the behaviour of `import` if the given path is a directory.
Co-authored-by: Silvan Mosberger <github@infinisil.com>
2023-04-06 23:44:42 +02:00
Zach Mitchell, PhD
00e8606dd7
Fix typos in ad-hoc-developer-environments.md
2023-04-05 22:08:09 -04:00
Valentin Gagarin
89d5f8aa37
Merge pull request #491 from Hamled/patch-1
...
NIX_PATH includes nixpkgs in cross-compilation.md
2023-04-05 01:26:26 +02:00
Niklas Mohrin
ac72c7256b
Add missing trailing newline in multi-line string example
2023-03-30 22:35:40 +02:00
Yuki Langley
25247077f4
Merge branch 'master' into information-overload
2023-03-29 14:20:53 +07:00
Charles Ellis
2067612bb3
NIX_PATH includes nixpkgs in cross-compilation.md
2023-03-23 17:47:45 -07:00
wzy
2da2d37082
Add information about installing nix by pacman ( #399 )
...
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-03-21 11:24:30 +01:00
Valentin Gagarin
77b5531a9a
rework nix-shell tutorial ( #447 )
...
this addresses multiple issues observed in user studies, in order to
make the first steps as smooth as possible.
2023-03-20 21:01:08 +01:00
Valentin Gagarin
076328e189
reword introduction to shebangs
...
a shebang is not the line, just the character sequence.
also it doesn't matter that much, so we may as well be brief.
2023-03-17 01:14:03 +01:00
Valentin Gagarin
2db9980664
fix heading level
2023-03-17 01:09:44 +01:00
olaf
442577eb25
tutorial: nixos configurations on vm ( #334 )
...
* tutorial: nixos configurations on vm
Co-authored-by: Benoit de Chezelles <bew@users.noreply.github.com>
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
Co-authored-by: Henrik <i97henka@gmail.com>
2023-03-16 18:37:04 +01:00
Valentin Gagarin
18bae0f41c
Merge pull request #446 from fricklerhandwerk/interpreted-scripts-next-steps
...
add additional links and next steps
2023-03-13 09:57:55 +01:00
Valentin Gagarin
a9f1378349
use OpenGroup's spec for env
2023-03-08 22:19:46 +01:00
Panashe Fundira
f16fd5854c
Quote URLs in nix language tutorial
...
Called out as an anti-pattern https://nix.dev/anti-patterns/language#unquoted-urls
This change is to make the docs more self-consistent, and promote good habits in the reader.
2023-03-05 08:51:35 -05:00
Valentin Gagarin
35833bd9fe
limit depth of tutorials TOC
2023-03-05 02:53:27 +01:00
Domen Kožar
36d3bf7bd7
bump actions to fix a critical bug
2023-03-01 06:03:02 +00:00
Pol Dellaiera
2de1f5bd12
Update nix-language.md ( #453 )
2023-02-25 00:49:34 +01:00
Henrik
fda85e22d0
working on #PR 325 - nix shell and shellbang ( #427 )
...
* changing to non-mobile wiki link
* adding link to nix-shell pure option.
* mentioning shebang just under the heading.
* adding bash in the listed included packages.
* corrected link snippet
* address review comments
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-02-16 19:23:23 +01:00
Valentin Gagarin
710a10af81
fixups to the Nix language manual ( #448 )
2023-02-16 15:48:22 +01:00
Valentin Gagarin
a6efa591dc
add additional links and next steps
2023-02-16 02:36:45 +01:00
Solène Rapenne
91eda534ef
add tutorial for nix-shell in shebang ( #325 )
...
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-02-14 18:24:11 +01:00
Maksim Horbul
0db5c1e909
fix: type in the code example
2023-02-12 09:50:47 +01:00
Valentin Gagarin
9241b4f1d6
do not duplicate information on references
2023-02-09 19:47:25 +01:00
Valentin Gagarin
afe81027aa
refine wording around string interpolation
2023-02-09 19:47:25 +01:00
Gabriella Gonzalez
51d2fa4e9c
Add credit for integration test example ( #434 )
2023-02-08 01:22:50 +01:00
Valentin Gagarin
c22b9e139f
remove notes and links to verifying Nix installation
...
Nix releases aren not signed any more:
https://github.com/NixOS/nix/pull/7411
nixos.org does not have the referenced section any more:
https://github.com/NixOS/nixos-homepage/pull/975
2023-02-06 10:30:48 +01:00
Felix Uhl
e57b033647
Rename antiquotation to string interpolation
...
This is in accordance with the official naming, which was
[changed in Release 2.13](https://nixos.org/manual/nix/stable/release-notes/rl-2.13.html ).
2023-01-30 15:27:17 +01:00
Domen Kožar
ea42f78c36
Merge pull request #422 from doubledup/patch-1
...
Make install command in documentation compatible with fish shell
2023-01-24 16:40:41 +00:00
Ottmar Deinhart
d8b911d12f
show how to exit nix repl ( #433 )
2023-01-20 22:21:53 +01:00
luukasahola
5a0d95fcd2
Fixed a minor function spelling error (Definitely didn't fix this to claim to be a NixOS contributor)
2023-01-10 12:25:19 +02:00
Luc Perkins
af9c9eb3c1
Merge pull request #405 from yukiisbored/styling
...
Improve readibility via styling improvements
2023-01-05 16:43:55 +00:00
David Dunn
be05bdef94
Use a pipe for all install commands
2022-12-28 09:36:27 +04:00
Valentin Gagarin
ee2b3d63a0
Merge pull request #420 from gkelly/update-nixpkgs
...
Update example pinned nixpkgs to a recent one
2022-12-23 10:46:49 +01:00
Yuki Langley
d8ee8efca0
install-nix: Use tabs to choose OS
2022-12-18 21:58:05 +01:00
Yuki Langley
5d1fa6c217
Use grid instead of table
2022-12-18 21:58:01 +01:00
Yuki Langley
505a96774c
Use dropdown instead of details
2022-12-18 21:53:52 +01:00
Yuki Langley
79ca846ada
Use Value instead of Result
...
Nix language tutorial asserts that it is called *Nix value* not *Nix
result*.
2022-12-18 21:18:28 +01:00
Yuki Langley
742f525741
Distinguish visually between expression and result
...
Related to https://github.com/NixOS/nix.dev/pull/395
2022-12-18 21:18:28 +01:00
David Dunn
4965408021
Add fish shell syntax for process substitution
2022-12-17 13:11:48 +02:00
Hans Christian v. Stockhausen
e583297654
Fix minor error with import-builtin example ( #421 )
2022-12-16 18:45:35 +01:00
Garret Kelly
3264e91e74
Update example pinned nixpkgs to a recent one
...
The pinned nixpkgs in these examples does not work with more recent
versions of nix.
Fixes #419
2022-12-14 11:27:22 -05:00
Valentin Gagarin
aeaf6a3cd9
Merge pull request #415 from mmolhoek/fix/document-pi-4-display-problem
...
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2022-12-13 12:24:30 +01:00