An opinionated guide for developers wanting to get things done with the Nix ecosystem.
Go to file
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
.github Proof-of-Concept for testing code samples 2022-04-07 10:16:17 +01:00
cla @BrittonR has signed the CLA from Pull Request #243 2022-03-21 23:37:15 +00:00
source Proof-of-Concept for testing code samples 2022-04-07 10:16:17 +01:00
.gitignore Proof-of-Concept for testing code samples 2022-04-07 10:16:17 +01:00
.gitpod.dockerfile housekeeping: enable devenv, automatic updates, CLA+license 2020-06-12 17:30:22 +00:00
.gitpod.yml housekeeping: enable devenv, automatic updates, CLA+license 2020-06-12 17:30:22 +00:00
.imgbotconfig housekeeping: enable devenv, automatic updates, CLA+license 2020-06-12 17:30:22 +00:00
default.nix flake compat 2021-06-06 12:50:35 +02:00
flake.lock Update Python env 2021-12-09 10:29:34 +00:00
flake.nix use python39 2022-04-06 14:57:22 +01:00
LICENSE.md LICENSE: CC BY-NC -> CC BY-SA for better compatibility 2020-06-16 15:38:01 +02:00
live pypi2nix -> mach-nix 2021-05-14 12:33:37 +02:00
live.py reload on all source changes 2020-07-09 14:15:56 +02:00
Makefile fix make build 2020-05-18 11:40:59 +02:00
poetry.lock Merge pull request #245 from nix-dot-dev/dependabot/pip/sphinx-4.5.0 2022-03-29 10:24:10 +01:00
pyproject.toml chore(deps-dev): bump black from 22.1.0 to 22.3.0 2022-03-29 00:02:20 +00:00
README.md Convert README.rst to .md as well 2021-12-10 23:24:40 +00:00
run_code_block_tests.sh Proof-of-Concept for testing code samples 2022-04-07 10:16:17 +01:00
shell-darwin.nix Proof-of-Concept for testing code samples 2022-04-07 10:16:17 +01:00
shell.nix flake compat 2021-06-06 12:50:35 +02:00

CI GitPod

nix.dev

An opinionated guide for developers wanting to get things done with the Nix ecosystem.

Contributing

Run ./live and open a browser at http://localhost:5500.

As you make changes your browser should auto-reload within a few seconds.

For syntax see RST/Sphinx Cheatsheet.