1
0
Fork 0
mirror of https://github.com/NixOS/nix.dev.git synced 2024-10-18 14:32:43 -04:00
Commit graph

1034 commits

Author SHA1 Message Date
Norman Rauschen e55781eaea Fix typo
`similiar` -> `similar`
2024-05-14 22:42:16 +02:00
Norman Rauschen a01c8290c1 Fix typo
`artifical` -> `artificial`
2024-05-14 22:42:16 +02:00
Norman Rauschen 6dfb252ea5 Fix typo
`distingushing` -> `distinguishing`
2024-05-14 22:42:16 +02:00
Daniel Ramírez cbf8083d55
Move "How do I add a new binary cache?" FAQ to Nix recipes (#833)
* Update the recipe on adding a binary cache

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2024-05-14 22:32:44 +02:00
Domagoj Mišković 604ac50dd4
lib unused binding in hello.nix (#974)
This removes the lib and lib.fakeSha256, along with any references to them in hello.nix and icat.nix from the tutorial. The tutorial is updated using https://nixos.org/manual/nixpkgs/unstable/#chap-pkgs-fetchers-caveats, providing an empty string to get the missing hash.

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2024-05-09 22:31:02 +02:00
Manuel Thalmann 4b72c64e1b
Fix Typos (#973) 2024-04-29 14:44:03 +00:00
Domagoj Mišković ec43f3a524
fix syntax error (#972)
Update packaging-existing-software.md - fix syntax error in skeleton derivation example
2024-04-24 23:01:54 +00:00
Anderson Torres 6fe9e53ccd best-practices: add a new tip for rec 2024-04-24 23:50:50 +02:00
olaf cde9482598
nixos-configuration-on-vm.md: graphical vm (#940)
* draft graphical vm

* Review and improve the NixOS configuration in VM tutorial

Done together in the docs team meeting

* fix wording and formatting

---------

Co-authored-by: Silvan Mosberger <silvan.mosberger@tweag.io>
Co-authored-by: wamirez <wamirez@protonmail.com>
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2024-04-22 19:28:58 +02:00
olafklingt 426bed7f51 use sphinx dropdown in nixos tutorials 2024-04-21 23:29:37 +02:00
olafklingt 01e8e689ce fix "details link" colors in light theme
and modify transparency in "details" dark theme
2024-04-21 23:29:37 +02:00
olaf fbb2e584d9
highlight background of collapsed texts (#963)
* highlight background of collapsed texts

* whitespaces
2024-04-18 16:15:45 +02:00
jopejoe1 8332e73807 replace unoffical wiki links with offical ones 2024-04-17 19:56:48 +02:00
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
Valentin Gagarin 408489ffcd split out a page for documentation resources
this looks like a large change, but it simplifies a few things:
- separate page for documentation resources, with overall less text
- updated information on the official NixOS Wiki
- communication channels are now subsumed under "how to get help"
- a few wording corrections while at it
2024-04-10 20:46:45 +02: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
Jörg Thalheim 2f020563ad correct the number of flake users
The statistic in
https://discourse.nixos.org/t/nix-community-survey-2023-results/33124
does also include N/A responses in the percentage, so the 58% is a bit
misleading as the conclusion would be that 42% are still not using
flakes. I dropped the 1/3 statement for now, because I couldn't find any
information about that, but I can re-add it if this percentage is
actually correct. I also dropped the 2022 results as it didn't seem to
have the explicit question in it.
2024-04-08 20:42:25 +02:00
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
Valentin Gagarin e837576351 refactor
this change also places all historical Nix manuals under a stable URL
2024-04-03 13:59:14 +02:00
Valentin Gagarin 3ffb8d8227 rework the way redirects are built 2024-04-03 09:21:26 +02:00
Valentin Gagarin caaa855395 generate index page from structured data
- refactor `default.nix` for hopefully better readability
- de-noise the overview page text
2024-04-03 09:21:26 +02:00
Daniel Sidhion e43be6fec7
Merge pull request #949 from fricklerhandwerk/add-channel-info
clarify wording on channel branches
2024-04-01 17:03:29 -07:00
Julien Malka e33336ff18
point wiki links to official wiki 2024-04-01 16:07:12 +02:00
Valentin Gagarin 82ee1a65c5 clarify wording on channel branches
Co-authored-by: wamirez <wamirez@protonmail.com>
2024-03-31 22:47:21 +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
Addison Beck e711b0ece1
Fix a small grammar issue on index.md (#945) 2024-03-23 17:37:49 +00: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
Silvan Mosberger 4b5bd33d89
Merge pull request #934 from roberth/patch-3
integration-testing-using-virtual-machines.md: nixosTest -> testers.r…
2024-03-07 16:28:05 +01:00
Carl Thomé ea54d9dbd1 sharing-dependencies: callpackage -> callPackage 2024-03-07 15:23:26 +01: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
Kian Mehrabani be84270c4e
fix typo 2024-02-28 01:27:18 -05:00
Valentin Gagarin 7454d1f692 work around link checker being blocked
this is a really annoying failure, but we probably can't do much other
than waiting for IP addresses to switch around or something...
2024-02-27 03:50:12 +01:00
Valentin Gagarin afc29b4f02 move to the nix.dev section
the text was originally written for nix.dev, so it needs to be placed
appropriately
2024-02-27 03:02:40 +01:00
Valentin Gagarin 21b8fa5c53 replace repeated "which" 2024-02-27 03:02:40 +01:00