Silvan Mosberger
ac3ca9189c
Merge pull request #960 from ben-christian/fix-example-module-system
...
refactor: rename test.nix to default.nix for consistency
2024-04-15 17:03:04 +02:00
Daniel Ramirez
adcc4d2409
Add indefinite article
2024-04-14 16:59:13 -04:00
Michael Smith
368f80b7af
Fix typo
2024-04-14 22:35:44 +02:00
ben-christian
5dc7037af1
refactor: rename test.nix to default.nix for consistency
2024-04-12 17:25:41 +10:00
olafklingt
260cdc4717
update cross compiling tutorial to 23.11
2024-04-10 00:30:41 +02:00
Andy Lee
c8ea42cc05
Improve Documentation: Exclude Prompt Characters from Copied Shell Commands ( #955 )
...
* docs: improve shell command copy experience
Prevent the inclusion of the dollar sign and preceding characters when copying shell commands from the documentation
Co-authored-by: Silvan Mosberger <github@infinisil.com>
2024-04-09 09:45:18 +00:00
Benoit de Chezelles
9c9f891c38
Update packaging-existing-software.md ( #938 )
...
* Update packaging-existing-software.md
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2024-04-09 08:25:43 +00:00
Oliver Kopp
bddda57b7d
Link to guide from the wiki ( #944 )
...
* Link to guide from the wiki
2024-04-08 20:45:47 +02:00
Silvan Mosberger
f32c85e096
Merge pull request #948 from marksisson/patches/fix-typo-in-module-system-md
2024-03-28 06:31:23 +01:00
Mark Sisson
05d8461965
fix: correct typo in module-system tutorial
2024-03-27 22:14:17 -05:00
Cyandev
ea2a50580d
fix code issues in callpackage.md
2024-03-27 11:21:51 +08:00
Cyandev
a47535c0d7
fix code block header in callpackage.md
2024-03-27 10:49:20 +08:00
Nate Meyer
2a7c8dfb8a
fix typo in packaging-existing-software.md
2024-03-26 06:38:02 -07:00
Valentin Gagarin
ca88130dce
rewrite and update
...
Co-authored-by: Norbert Melzer <timmelzer@gmail.com>
Co-authored-by: Silvan Mosberger <github@infinisil.com>
2024-03-19 04:25:24 +01:00
Valentin Gagarin
8c7824e79d
import callPackage
tutorial from Summer of Nix 2022
...
Co-authored-by: Norbert Melzer <timmelzer@gmail.com>
Co-authored-by: Matthias Meschede <MMesch@users.noreply.github.com>
2024-03-19 04:25:24 +01:00
Sheikh
aa0eaf6660
fix: minor grammar correction
2024-03-16 21:01:40 -03:00
olaf
cf814e601d
Update integration-testing-using-virtual-machines.md
...
fix nixpkgs version to match previous update
2024-03-10 22:03:13 +01:00
Valentin Gagarin
81317b403e
add more useful next steps to language tutorial ( #936 )
2024-03-09 21:01:04 +00:00
Robert Hensing
df384e0c86
integration-testing-using-virtual-machines.md: nixosTest -> testers.runNixOSTest
2024-03-07 00:27:40 +01:00
Kian Mehrabani
a772d7e9bc
fix another typo
2024-02-28 02:03:56 -05:00
Kian Mehrabani
a3e1a53f93
fix typo
2024-02-28 02:01:40 -05:00
IBleedIcare
1175a62c3c
Fix typo ( #921 )
2024-02-27 02:49:23 +01:00
Valentin Gagarin
61c5b0f88e
change file sets tutorial URL to match document title
...
this solves a weird interaction with automatically generated section IDs
where the section heading is the same as the file name.
2024-02-24 18:09:07 +01:00
Silvan Mosberger
dbc54fa0de
Merge pull request #916 from NixOS/domenkozar-patch-1
...
continuous-integration-github-actions.md: bump actions
2024-02-12 01:47:04 +01:00
Silvan Mosberger
ff7d3b0c9f
Merge pull request #902 from fricklerhandwerk/nixshell-nocc
...
use `nixShellNoCC` in tutorials and guides
2024-02-12 01:30:52 +01:00
BOHverkill
73c25c483c
Replace mobile Wikipedia links with desktop ones ( #914 )
...
Wikipedia automatically redirects mobile users to the mobile version
when clicking a desktop link, but doesn't do the same the other way
around. This also introduces consistency, as some Wikipedia links use
the desktop version and some the mobile version.
2024-02-11 19:39:29 +00:00
Domen Kožar
dd515a5ddf
continuous-integration-github-actions.md: bump actions
2024-02-11 11:59:54 +00:00
olaf
f778931b79
Merge pull request #912 from fricklerhandwerk/text-only-vm
...
use a text-only configuration for the VM tutorial
2024-02-11 02:47:39 +01:00
Valentin Gagarin
3ef953bfad
simplify example
...
too much character noise distracts from the principle
2024-02-09 12:55:34 +01:00
Valentin Gagarin
001bf741ab
declarative shells tutorial: more generic example commands
2024-02-09 12:55:34 +01:00
Valentin Gagarin
8166d8a566
add more relevant reference documentation
2024-02-09 12:51:42 +01:00
Valentin Gagarin
229682d445
use a text-only configuration for the VM tutorial
...
with the right flags it can be started in the current terminal.
when the VM stops, it's ungarbled with `reset`.
2024-02-08 14:57:26 +01:00
Wang Kefeng
572efad1b8
fix a typo in packaging-existing-software.md ( #911 )
2024-02-08 08:59:54 +00:00
Valentin Gagarin
53cbd112d7
fix up language in the packaging tutorial ( #887 )
...
* fix up language in the packaging tutorial
- make many sentences shorter
- add links
- expand on finding things
- use more domain-specific headings
- add next steps
Co-authored-by: Henrik <i97henka@gmail.com>
Co-authored-by: Olivia Crain <olivia@olivia.dev>
Co-authored-by: Silvan Mosberger <github@infinisil.com>
2024-02-07 02:36:18 +01:00
Valentin Gagarin
5ec1a4967c
use nixShellNoCC
in tutorials and guides
...
in our examples we never actually use the compiler toolchain stuff from
`mkShell`, so we may as well not burden users with large downloads.
2024-02-06 21:16:17 +01:00
Silvan Mosberger
5bc6e4046b
Merge pull request #870 from MasonM/patch-1
...
Fix unquoted URL in "Nix language basics"
2024-01-31 22:32:31 +01:00
Valentin Gagarin
c9ed694ea8
NixOS tutorials: add next steps
2024-01-31 02:39:45 +01:00
Valentin Gagarin
747c3c7060
reorder NixOS tutorials
...
it makes more sense to start with the most innocent ones, where
everything runs in a VM.
2024-01-31 02:39:45 +01:00
nbelakovski
596d9db532
Update packaging-existing-software.md ( #888 )
...
As it was written, I thought we'd have to do more work to supply fetchzip, but the next invokation of nix-build seems to call fetchzip without any definition errors so I assume the error is in the documentation.
2024-01-30 20:18:50 +01:00
Valentin Gagarin
a295a4dae1
fix broken reference ( #889 )
2024-01-30 12:32:03 +00:00
Valentin Gagarin
9c12897c8f
fix up language in python environment guide ( #882 )
2024-01-29 01:44:42 +00:00
Valentin Gagarin
e6c1fb1b14
move automatic environments up, add next steps ( #881 )
...
automatically entering the shell is the next logical step, especially if
we have turned it on and off multiple times in a row.
2024-01-29 02:42:49 +01:00
Valentin Gagarin
a1c683aabb
move shell.nix tutorial up ( #879 )
...
it doesn't make sense that we continue with reproducibility becuase we
haven't seen lookup paths yet.
2024-01-29 02:42:40 +01:00
Valentin Gagarin
cf94730f93
show nix-shell --run ( #886 )
...
* show nix-shell --run
it's quite useful and not necessarily obvious without reading reference documentation
Co-authored-by: Silvan Mosberger <github@infinisil.com>
2024-01-29 01:41:04 +00:00
Silvan Mosberger
5f1eea5bc2
Merge pull request #880 from fricklerhandwerk/wording
...
reword shell.nix tutorial introduction
2024-01-29 01:17:43 +01:00
Valentin Gagarin
be612d5d12
reword shell.nix tutorial introduction
...
make shorter sentences and drop the key message about sharing
declarative environments
2024-01-28 20:00:12 +01:00
Valentin Gagarin
b0a8a39fce
highlight recommendation to use search.nixos.org
...
this way it's easier to find and probably also remember
2024-01-28 19:52:26 +01:00
Valentin Gagarin
75eceb50cd
small wording improvements ( #877 )
2024-01-28 18:30:34 +00:00
Mason Malone
6f56eda69a
Fix unquoted URL in "Nix language basics"
...
I'm a newbie, so I might be missing something, but the use of an unquoted URL here seems like it goes against the "Best Practice" page (https://nix.dev/guides/best-practices#urls ), which says to always quote URLs.
2024-01-25 17:57:50 -08:00
Moraxyc
22b3a861cb
fix: typo
...
add ;
2024-01-22 12:13:35 +08:00