Nejc Zupan
02ced7bbff
Proof-of-Concept for testing code samples
...
There are a number of code samples throughout nix.dev. How do we know
they still work? We don't!
This commit introduces a way for us to extract these code samples into files
and then run tests against them in CI. This will hopefully help us catch
regressions in future updates to nix, NixOS and/or this guide.
Additionally, I included a darwin specific nix-shell configuration that I
use personally on my M1 Mac to work on this repo. Might be useful for someone.
2022-04-07 10:16:17 +01:00
Domen Kožar
68416183e3
Merge pull request #241 from Michael-J-Ward/patch-2
...
Add note on multi-line shebang
2022-03-30 10:10:18 +01:00
Michael-J-Ward
da980645ab
Update source/tutorials/ad-hoc-developer-environments.md
...
per @domenkozar's suggestion
Co-authored-by: Domen Kožar <domen@enlambda.com>
2022-03-29 09:49:55 -04:00
Domen Kožar
69070ee4a8
Merge branch 'master' into patch-4
2022-03-29 10:28:38 +01:00
Domen Kožar
5e0ba5f66b
bump pins in ad-hoc tutorial
2022-03-29 10:22:29 +01:00
Britton Robitzsch
5221472a57
Update formatting issues for niv show and niv modify
...
Two commands were formatted as quotes instead of code. This caused an issue where --branch was formatted with '–' instead of '--'. This caused an error when copying and pasting the command into a terminal:
```
[nix-shell:~/niv]$ niv modify nixpkgs –branch nixos-21.05
Invalid argument `–branch'
Usage: niv [-s|--sources-file FILE] [--no-colors] COMMAND
```
2022-03-21 16:39:57 -06:00
Michael-J-Ward
b0b9be629c
Add note on multi-line shebang
...
The multi
2022-03-16 00:42:05 -04:00
worktheclock
67e9357985
Pinning Nixpkgs RITZA proofread
2022-03-14 13:26:25 +02:00
Jan Tojnar
b141d8b9a6
faq: Update deprecated Nix settings on NixOS
2022-02-07 16:43:35 +01:00
worktheclock
e659bece62
Set up dev env RITZA language edit
2022-01-27 08:43:01 +02:00
Valentin Gagarin
dbd0b8cfc4
more detail on specifying host platform
...
- explain mechanism of combining build and host platform in `nixpkgs` configuration
- add examples how to specify host platform in different ways
2021-12-15 12:03:44 +01:00
Valentin Gagarin
671e1d464d
clarify platform attr vs. config string
2021-12-15 12:03:44 +01:00
Valentin Gagarin
12004ac36f
add note on historicity platform encoding
...
there have been discussions around migrating the platform description to a more structured representation like an attribute set (cannot find relevant issue for reference right now), and it is worth noting that this string encoding is fairly arbitrary.
2021-12-15 12:03:44 +01:00
Valentin Gagarin
c3fe9d754c
reword distinction of target and host
...
use shorter sentences, emphasize keywords
2021-12-15 12:03:44 +01:00
Valentin Gagarin
dd2b939f89
reword note on Nix community
...
make clear `nixpkgs` is the package collection, which is not the same as `nix` the package manager or the broader Nix community
2021-12-15 10:37:01 +01:00
Nejc Zupan
e5e8253278
Convert the remaining tutorials from .rst to .md
2021-12-10 14:53:53 +00:00
Nejc Zupan
205e31841c
Convert cross-compilation.rst
...
Note that the footnotes are now really in the foot of the document,
not at the foot of the paragraph.
2021-12-10 14:38:32 +00:00
Nejc Zupan
6d066825ec
Converting moar tutorials
2021-12-10 14:34:01 +00:00
Nejc Zupan
38ca026b8f
Start converting tutorials from .rst to .md
2021-12-10 14:10:26 +00:00
Nejc Zupan
1bcadb5175
Convert templates/*.rst to .md
2021-12-10 12:26:10 +00:00
Nejc Zupan
81339ce4f8
Convert reference/*.rst to .md
2021-12-10 12:24:12 +00:00
Nejc Zupan
499108ef7f
Convert anti-patterns/*.rst to .md
2021-12-10 12:14:41 +00:00
Nejc Zupan
2c424a1310
Convert index.rst to .md
2021-12-10 11:36:13 +00:00
Nejc Zupan
d251c52c74
Convert recommended-reading.rst to .md
2021-12-10 11:36:13 +00:00
Nejc Zupan
8ce1cbb01a
Convert glossary.rst to .md
2021-12-10 11:15:01 +00:00
Nejc Zupan
7b7fe3c9c9
Convert faq.rst -> faq.md
2021-12-09 13:22:59 +00:00
Nejc Zupan
54ed4ce8ce
Initial support for MyST
...
For now, we can have both .rst and .md files, so we can do the convertion
to Markdown iteratively.
2021-12-09 12:45:57 +00:00
Domen Kožar
04a0d31506
bump install-nix-action
2021-12-09 12:46:23 +01:00
nikstur
2d8e7b2c6d
Fixed image name in dd command
2021-12-09 04:11:15 +01:00
Nejc Zupan
ca2f7b4a95
fix a bunch more links
2021-12-06 16:48:55 +00:00
Nejc Zupan
8633fe329f
fix install links, and typos
2021-12-06 16:48:55 +00:00
Nejc Zupan
7898fb3eb6
Fix link to building own NixOS image
...
The link changed in 2937038bf3
2021-12-06 16:48:55 +00:00
Domen Kožar
c05d7c786b
Merge pull request #204 from urbas/aarch64-hydra-job
...
new hydra link to the aarch64 sd image
2021-12-04 15:06:12 +00:00
Matej Urbas
d4a8e02b75
new hydra link to the aarch64 sd image
2021-12-04 13:14:58 +00:00
Walfie
d7329e7032
Fix typos
2021-12-03 16:38:15 -05:00
Gurjeet Singh
817e04a4ae
Remove duplicate example in "Pinning" section
2021-11-22 14:47:46 -08:00
Domen Kožar
bf6a0b5caf
bump install-nix-action
2021-11-12 15:09:25 -06:00
Domen Kožar
86206f316c
nix-install-action@v14.1
2021-11-03 06:04:49 -06:00
Eli Flanagan
32ce1e7b41
remove needless code fence
...
These came through raw on the webpage
2021-10-25 10:14:16 -04:00
Domen Kožar
3da134a71a
Add Nix language reference onepager
2021-10-20 06:27:14 -05:00
Domen Kožar
aa2ac1ea46
read more: add more resources
2021-10-19 17:53:04 -05:00
Domen Kožar
efc2a1b34b
fix build
2021-10-19 16:42:37 -05:00
Domen Kožar
3b5d6302f2
fix #187
2021-10-19 16:35:11 -05:00
Domen Kožar
8474297cea
Merge pull request #189 from ritza-co/GitHub-actions-proofread
...
Update continuous-integration-github-actions.rst
2021-10-19 16:30:55 -05:00
Domen Kožar
bb4365f9c0
TOC: start with the first tutorial for dev environments
2021-10-19 15:51:49 -05:00
worktheclock
f16f7b22e2
Update continuous-integration-github-actions.rst
2021-10-18 11:46:37 +02:00
Domen Kožar
6b95160fe9
iso: fix NIX_PATH propagation
...
4 years old bug https://github.com/NixOS/nix/issues/1294
2021-10-04 16:32:29 -05:00
Samuel Gräfenstein
154bebe2e8
fix typos
2021-10-03 21:01:57 +02:00
Jörg Thalheim
9ca2a9a3f6
add short hacking tutorial for nixpkgs with docker
...
This example is intentionally a bit more verbose as docker might be used
by upstream authors to test package in nixpkgs without having to install
nix.
2021-09-30 09:12:31 +02:00
Domen Kožar
46e07de7aa
installation: split by OS
2021-08-19 15:20:38 +02:00