1
0
Fork 0
mirror of https://github.com/NixOS/nix.dev.git synced 2024-10-18 14:32:43 -04:00
Official documentation for getting things done with Nix.
Find a file
Silvan Mosberger f4794639c6 Various improvements to the dynamically generated Nix versions
- Use separate JSON files to track sources for Nixpkgs and Nix releases
  This greatly simplifies the code, because we can directly encode
  versions as keys without ambiguity
- Avoid an instance of IFD for the redirect generation
- Use pkgs.substitute instead of builtins.replaceStrings
- Turn off the single-page feature for now. It was added by Valentin in
  a previous commit, but I think we should discuss this a bit more
- Simplify a lot of the code and add comments
- Fix the mutable redirects, they were broken by a parent commit
- Remove pieces of Nix code that weren't used, like the import of the
  Nixpkgs manual. This can be added in the future when necessary
- Make sure that Nix versions are cached by building from the store path
2024-04-04 02:04:56 +02:00
.github Revert "run preview deployments on forks as well" 2024-03-06 19:34:59 +01:00
maintainers gsod: fix typo in finances 2024-04-02 02:26:57 +02:00
nix Various improvements to the dynamically generated Nix versions 2024-04-04 02:04:56 +02:00
source Various improvements to the dynamically generated Nix versions 2024-04-04 02:04:56 +02:00
vale File sets tutorial (#802) 2023-11-23 17:14:46 +01:00
.editorconfig editorconfig: init 2023-10-06 10:50:04 +02:00
.envrc unignore .envrc 2023-11-13 13:28:42 +01:00
.gitignore unignore .envrc 2023-11-13 13:28:42 +01:00
.imgbotconfig housekeeping: enable devenv, automatic updates, CLA+license 2020-06-12 17:30:22 +00:00
.vale.ini Enable custom vocabulary 2023-11-13 13:45:49 +01:00
_redirects change file sets tutorial URL to match document title 2024-02-24 18:09:07 +01:00
CONTRIBUTING.md refactor 2024-04-03 13:59:14 +02:00
default.nix Various improvements to the dynamically generated Nix versions 2024-04-04 02:04:56 +02:00
LICENSE.md LICENSE: CC BY-NC -> CC BY-SA for better compatibility 2020-06-16 15:38:01 +02:00
Makefile add SOURCE_DATE_EPOCH to Makefile to fix copyright year (#800) 2023-11-15 05:16:27 +01:00
README.md add more preview instructions to README 2024-02-07 01:03:36 +01:00
run_code_block_tests.sh Proof-of-Concept for testing code samples 2022-04-07 10:16:17 +01:00
runtime.txt pin python for cloudflare 2022-06-27 10:26:49 -05:00
shell.nix remove flake.nix 2023-11-07 03:04:28 +01:00

CI

nix.dev

Official documentation for getting things done with Nix.

Contributing

Content is written in MyST, a superset of CommonMark. For its syntax, see the MyST docs.

For contents and style see contribution guide.

Local preview

Run nix-shell --run devmode and open a browser at http://localhost:5500.

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

To manually test redirects:

nix-shell -p netlify-cli --run "cd result; netlify dev"