Commit Graph

517 Commits

Author SHA1 Message Date
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
e6bcbd49e6
Merge pull request #249 from nix-dot-dev/python39
use python39
2022-04-06 15:02:51 +01:00
Domen Kožar
961b5a31d5 use python39 2022-04-06 14:57:22 +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
74821e906d
Merge pull request #238 from worktheclock/patch-4
Pinning Nixpkgs RITZA proofread
2022-03-29 10:29:15 +01:00
Domen Kožar
69070ee4a8
Merge branch 'master' into patch-4 2022-03-29 10:28:38 +01:00
Domen Kožar
417be44b4e
Merge pull request #245 from nix-dot-dev/dependabot/pip/sphinx-4.5.0
chore(deps): bump sphinx from 4.4.0 to 4.5.0
2022-03-29 10:24:10 +01:00
Domen Kožar
f37280e898
Merge pull request #246 from nix-dot-dev/dependabot/pip/black-22.3.0
chore(deps-dev): bump black from 22.1.0 to 22.3.0
2022-03-29 10:24:03 +01:00
Domen Kožar
5e0ba5f66b bump pins in ad-hoc tutorial 2022-03-29 10:22:29 +01:00
dependabot[bot]
9d18f64ccb
chore(deps-dev): bump black from 22.1.0 to 22.3.0
Bumps [black](https://github.com/psf/black) from 22.1.0 to 22.3.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/22.1.0...22.3.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 00:02:20 +00:00
dependabot[bot]
8905826d5e
chore(deps): bump sphinx from 4.4.0 to 4.5.0
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/4.x/CHANGES)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v4.4.0...v4.5.0)

---
updated-dependencies:
- dependency-name: sphinx
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 00:04:38 +00:00
Domen Kožar
9a554146e4
Merge pull request #243 from BrittonR/patch-1
Change quote formatting to code format on towards-reproducibility-pinning-nixpkgs
2022-03-24 07:40:08 +01:00
github-actions[bot]
45462b3ed3
@BrittonR has signed the CLA from Pull Request #243 2022-03-21 23:37:15 +00: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
github-actions[bot]
7fb49d9568
@mhwombat has signed the CLA from Pull Request #242 2022-03-16 16:45:33 +00:00
github-actions[bot]
ddd85bbadd
@Michael-J-Ward has signed the CLA from Pull Request #241 2022-03-16 11:52:38 +00: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
Domen Kožar
2ba1641afd
Merge pull request #236 from nix-dot-dev/dependabot/github_actions/actions/checkout-3
chore(deps): bump actions/checkout from 2 to 3
2022-03-02 09:55:16 +01:00
dependabot[bot]
814fce3fed
chore(deps): bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-02 00:06:27 +00:00
Domen Kožar
0a90c5c169
Merge pull request #235 from nix-dot-dev/dependabot/pip/myst-parser-0.17.0
chore(deps): bump myst-parser from 0.16.1 to 0.17.0
2022-02-14 16:46:23 +01:00
dependabot[bot]
d5c96d2c59
chore(deps): bump myst-parser from 0.16.1 to 0.17.0
Bumps [myst-parser](https://github.com/executablebooks/MyST-Parser) from 0.16.1 to 0.17.0.
- [Release notes](https://github.com/executablebooks/MyST-Parser/releases)
- [Changelog](https://github.com/executablebooks/MyST-Parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/executablebooks/MyST-Parser/compare/v0.16.1...v0.17.0)

---
updated-dependencies:
- dependency-name: myst-parser
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 00:03:28 +00:00
Domen Kožar
14905125f6
Merge pull request #234 from jtojnar/patch-1
faq: Update deprecated Nix settings on NixOS
2022-02-10 13:34:30 +01:00
github-actions[bot]
7e1f829367
@jtojnar has signed the CLA from Pull Request #234 2022-02-07 15:44:47 +00:00
Jan Tojnar
b141d8b9a6
faq: Update deprecated Nix settings on NixOS 2022-02-07 16:43:35 +01:00
Domen Kožar
49e07b7edd
Merge pull request #233 from nix-dot-dev/dependabot/pip/sphinx-copybutton-0.5.0
chore(deps): bump sphinx-copybutton from 0.4.0 to 0.5.0
2022-02-07 08:29:44 +01:00
dependabot[bot]
7f0ebaf0e5
chore(deps): bump sphinx-copybutton from 0.4.0 to 0.5.0
Bumps [sphinx-copybutton](https://github.com/executablebooks/sphinx-copybutton) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/executablebooks/sphinx-copybutton/releases)
- [Changelog](https://github.com/executablebooks/sphinx-copybutton/blob/master/CHANGELOG.md)
- [Commits](https://github.com/executablebooks/sphinx-copybutton/compare/v0.4.0...v0.5.0)

---
updated-dependencies:
- dependency-name: sphinx-copybutton
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-07 00:09:09 +00:00
Domen Kožar
827faf3a39
Merge pull request #231 from nix-dot-dev/dependabot/pip/black-22.1.0
chore(deps-dev): bump black from 21.12b0 to 22.1.0
2022-01-31 10:00:00 +01:00
dependabot[bot]
5426e36dfc
chore(deps-dev): bump black from 21.12b0 to 22.1.0
Bumps [black](https://github.com/psf/black) from 21.12b0 to 22.1.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/commits/22.1.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-31 00:09:48 +00:00
Domen Kožar
2a3bf802e2
Merge pull request #230 from worktheclock/patch-2
Set up dev env RITZA language edit
2022-01-27 20:19:51 +01:00
worktheclock
e659bece62
Set up dev env RITZA language edit 2022-01-27 08:43:01 +02:00
Domen Kožar
1ab2c1fa22
Merge pull request #228 from nix-dot-dev/dependabot/pip/sphinx-4.4.0
chore(deps): bump sphinx from 4.3.2 to 4.4.0
2022-01-17 07:16:24 +00:00
Domen Kožar
5b64ddfae1
Merge pull request #229 from nix-dot-dev/dependabot/pip/sphinx-book-theme-0.2.0
chore(deps): bump sphinx-book-theme from 0.1.10 to 0.2.0
2022-01-17 07:16:15 +00:00
dependabot[bot]
a65c286b6b
chore(deps): bump sphinx-book-theme from 0.1.10 to 0.2.0
Bumps [sphinx-book-theme](https://github.com/executablebooks/sphinx-book-theme) from 0.1.10 to 0.2.0.
- [Release notes](https://github.com/executablebooks/sphinx-book-theme/releases)
- [Changelog](https://github.com/executablebooks/sphinx-book-theme/blob/master/CHANGELOG.md)
- [Commits](https://github.com/executablebooks/sphinx-book-theme/compare/v0.1.10...v0.2.0)

---
updated-dependencies:
- dependency-name: sphinx-book-theme
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17 00:09:17 +00:00
dependabot[bot]
970886ce48
chore(deps): bump sphinx from 4.3.2 to 4.4.0
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 4.3.2 to 4.4.0.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/4.x/CHANGES)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v4.3.2...v4.4.0)

---
updated-dependencies:
- dependency-name: sphinx
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17 00:08:51 +00:00
Domen Kožar
4468ef201b
Merge pull request #227 from nix-dot-dev/dependabot/pip/sphinx-book-theme-0.1.10
chore(deps): bump sphinx-book-theme from 0.1.9 to 0.1.10
2022-01-11 04:43:14 +01:00
dependabot[bot]
240e42290b
chore(deps): bump sphinx-book-theme from 0.1.9 to 0.1.10
Bumps [sphinx-book-theme](https://github.com/executablebooks/sphinx-book-theme) from 0.1.9 to 0.1.10.
- [Release notes](https://github.com/executablebooks/sphinx-book-theme/releases)
- [Changelog](https://github.com/executablebooks/sphinx-book-theme/blob/master/CHANGELOG.md)
- [Commits](https://github.com/executablebooks/sphinx-book-theme/compare/v0.1.9...v0.1.10)

---
updated-dependencies:
- dependency-name: sphinx-book-theme
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-11 00:02:41 +00:00
Domen Kožar
6812042c76
Merge pull request #226 from nix-dot-dev/dependabot/pip/sphinx-book-theme-0.1.9
chore(deps): bump sphinx-book-theme from 0.1.8 to 0.1.9
2022-01-06 03:55:44 +01:00
dependabot[bot]
bf4f6465b8
chore(deps): bump sphinx-book-theme from 0.1.8 to 0.1.9
Bumps [sphinx-book-theme](https://github.com/executablebooks/sphinx-book-theme) from 0.1.8 to 0.1.9.
- [Release notes](https://github.com/executablebooks/sphinx-book-theme/releases)
- [Changelog](https://github.com/executablebooks/sphinx-book-theme/blob/master/CHANGELOG.md)
- [Commits](https://github.com/executablebooks/sphinx-book-theme/compare/v0.1.8...v0.1.9)

---
updated-dependencies:
- dependency-name: sphinx-book-theme
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-06 00:02:23 +00:00
Domen Kožar
59df80d06c
Merge pull request #225 from nix-dot-dev/dependabot/pip/sphinx-book-theme-0.1.8
chore(deps): bump sphinx-book-theme from 0.1.7 to 0.1.8
2022-01-05 04:47:13 +01:00
dependabot[bot]
bbb2c7ee63
chore(deps): bump sphinx-book-theme from 0.1.7 to 0.1.8
Bumps [sphinx-book-theme](https://github.com/executablebooks/sphinx-book-theme) from 0.1.7 to 0.1.8.
- [Release notes](https://github.com/executablebooks/sphinx-book-theme/releases)
- [Changelog](https://github.com/executablebooks/sphinx-book-theme/blob/master/CHANGELOG.md)
- [Commits](https://github.com/executablebooks/sphinx-book-theme/compare/v0.1.7...v0.1.8)

---
updated-dependencies:
- dependency-name: sphinx-book-theme
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-05 00:02:16 +00:00
Domen Kožar
d693df2792
Merge pull request #223 from nix-dot-dev/dependabot/pip/sphinx-4.3.2
chore(deps): bump sphinx from 4.3.1 to 4.3.2
2021-12-20 08:51:17 +00:00
dependabot[bot]
5a7ba9c924
chore(deps): bump sphinx from 4.3.1 to 4.3.2
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 4.3.1 to 4.3.2.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/4.x/CHANGES)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v4.3.1...v4.3.2)

---
updated-dependencies:
- dependency-name: sphinx
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-20 00:12:53 +00:00
Domen Kožar
b319e1b079
Merge pull request #222 from nix-dot-dev/dependabot/pip/myst-parser-0.16.1
chore(deps): bump myst-parser from 0.16.0 to 0.16.1
2021-12-17 08:21:15 +00:00
dependabot[bot]
b10dddc75c
chore(deps): bump myst-parser from 0.16.0 to 0.16.1
Bumps [myst-parser](https://github.com/executablebooks/MyST-Parser) from 0.16.0 to 0.16.1.
- [Release notes](https://github.com/executablebooks/MyST-Parser/releases)
- [Changelog](https://github.com/executablebooks/MyST-Parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/executablebooks/MyST-Parser/compare/v0.16.0...v0.16.1)

---
updated-dependencies:
- dependency-name: myst-parser
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-17 00:02:46 +00:00
Domen Kožar
755c1005ef
Merge pull request #221 from fricklerhandwerk/cross-compilation
Clarify explanations on cross compilation
2021-12-15 16:10:42 +00:00
github-actions[bot]
6fd9506ee5
@fricklerhandwerk has signed the CLA from Pull Request #221 2021-12-15 11:13:30 +00: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