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

1578 commits

Author SHA1 Message Date
dependabot[bot] 5ccd31c74a
chore(deps): bump cachix/cachix-action from 13 to 14
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from 13 to 14.
- [Release notes](https://github.com/cachix/cachix-action/releases)
- [Commits](https://github.com/cachix/cachix-action/compare/v13...v14)

---
updated-dependencies:
- dependency-name: cachix/cachix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 10:17:42 +00:00
Valentin Gagarin 4f9862fdb9
disable linkcheck for GitHub anchor links (#859)
apparently it got (a lot) worse and GitHub doesn't render README files
statically any more.

this obviates the need of additional instructions.
2024-01-15 10:16:39 +00:00
Valentin Gagarin 0669665b42
simplify config.guess line (#858) 2024-01-07 10:08:50 +00:00
Alexander Groleau 143801d9ae
Merge pull request #854 from fricklerhandwerk/fix-noop-faq
remove no-op command in troubleshooting advice
2024-01-05 19:35:28 -08:00
Silvan Mosberger acb5c7acc5
Merge pull request #856 from henrik-ch/crosscompile-hostplatform-det
fix for issue with host platform determination
2024-01-05 23:04:14 +01:00
Henrik Karlsson 35909232d3 fix for issue with host platform determination
cross compilation tutorial.
2024-01-05 21:55:58 +00:00
Valentin Gagarin 15dfbcf6c3 remove no-op command in troubleshooting advice
`nix-store --init` doesn't actually do anything [0] and is not even
documented in the Nix manual

[0]: 9651034dc2/src/nix-store/nix-store.cc (L736-L744)
2024-01-05 18:50:50 +01:00
asymmetric 6a7d821003
Merge pull request #850 from greg0ire/patch-1
Refer to the tags page
2023-12-28 18:09:32 +01:00
Grégoire Paris 02f47d8a46
Refer to the tags page
The releases page is empty, and that might confuse people.
2023-12-28 15:02:05 +01:00
Silvan Mosberger f3799fbe19
Merge pull request #849 from carlthome/patch-1 2023-12-26 14:47:57 +01:00
Carl Thomé c5d7eab39d
nix-generate-config -> nixos-generate-config 2023-12-26 14:12:53 +01:00
amirreza8002 36f1df3008
updated channel version (#848)
22.11 to 23.11
2023-12-26 10:28:34 +00:00
Silvan Mosberger 0466cf0b0d
Merge pull request #846 from NixOS/fileset.gitTracked-update
File sets: Update note on `gitTracked`
2023-12-22 21:31:28 +01:00
Silvan Mosberger 840f7ff50a File sets: Improve a sentence
It was confusing before
2023-12-22 21:29:02 +01:00
Silvan Mosberger 4ebcad8b0d File sets: Update note on gitTracked
Now that https://github.com/NixOS/nixpkgs/pull/273893 is merged, the
previous note isn't accurate anymore.
2023-12-22 21:28:58 +01:00
asymmetric bc5233a013
Merge pull request #708 from NixOS/dependabot/github_actions/actions/checkout-4
chore(deps): bump actions/checkout from 3 to 4
2023-12-15 12:32:11 +01:00
dependabot[bot] 7d07e2265a chore(deps): bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [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/v3...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-15 12:29:05 +01:00
Jeff Huffman e3f4d7be86
add FAQ entry on how to run non-nix executables (#832) 2023-12-11 11:39:21 +01:00
Anthony Camarillo 876483a1f4
fix grammar and punctuation in declarative-shell.md (#834) 2023-12-08 01:11:52 +00:00
Silvan Mosberger 3569f20396
Merge pull request #828 from turbotimon/patch-1
fix missing word "in" in possible-url-values
2023-12-05 15:15:08 +01:00
ET 824d81db97
fix missing word "in" 2023-12-05 14:24:11 +01:00
olaf aaf63e8845
Update CODEOWNERS (#825) 2023-12-05 00:45:40 +01:00
Robert Hensing 9cc2ddd16a
Merge pull request #764 from fricklerhandwerk/add-manuals
host Nix reference manual on nix.dev
2023-12-04 17:10:45 +01:00
Valentin Gagarin 68ded85b87 NixOS 23.11 was released 2023-12-04 16:52:49 +01:00
worktheclock 5b898ae819
Deploying NixOS using Terraform grammar check (#220) 2023-12-03 01:08:59 +00:00
asymmetric 3d02c7a490
Merge pull request #818 from NixOS/dependabot/github_actions/cachix/install-nix-action-24
chore(deps): bump cachix/install-nix-action from 23 to 24
2023-12-02 10:13:54 +01:00
asymmetric 68852a880b
Merge pull request #819 from NixOS/dependabot/github_actions/cachix/cachix-action-13
chore(deps): bump cachix/cachix-action from 12 to 13
2023-12-02 10:13:33 +01:00
Brian McGillion 2d6276114d
tutorials: Map Module (#820)
* tutorial: Propagate previous geocode changes

Propagate the changes made in a previous code snippet to this code
snippet. Primarily fixing the poorly referenced ``${geocode``.

* tutorial: Fix requestParams for path.nix

Adjust the functionality to reference geocode correctly and
also to make sure of the correct escaping formats.

Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-12-01 23:51:34 +01:00
Silvan Mosberger bd7f4930fb CODEOWNERS: Remove outdated learning journey entries 2023-12-01 14:49:08 +01:00
Silvan Mosberger a33ffa18f4 CODEOWNERS: Set @infinisil as codeowner of the file sets tutorial 2023-12-01 14:49:08 +01:00
Silvan Mosberger cdf282de95 file-sets: Use hasExt for fileFilter
Now that https://github.com/NixOS/nixpkgs/pull/266362 is merged
2023-12-01 14:49:08 +01:00
Silvan Mosberger 0c688e044f file-sets: Use stable references
Now that 23.11 is released
2023-12-01 14:49:08 +01:00
Valentin Gagarin b29081d5c6
fix typography (#822) 2023-12-01 00:57:48 +01:00
Silvan Mosberger 0249563433
Merge pull request #811 from fricklerhandwerk/simplify-devmode
fix and simplify devmode script
2023-11-30 16:55:13 +01:00
Valentin Gagarin 63d783a3bc fix and simplify devmode script
previously, stderr was garbled, which made it really annoying to deal
with build errors.

it turns out that the library wrapper around calling a process is not
just counterproductive, but also completely unnecessary.

the build now takes longer because it's not incremental any more.
but the problem with `sphinx-build` in a shell environment is that it
doesn't keep track of an entire class of files, that would have to be
considered manually. this is too much manual overhead that doesn't scale
at all. with the new setup the live preview will do exactly what the
final deployment does.

[1]: https://github.com/executablebooks/sphinx-autobuild#relevant-sphinx-bugs

Co-authored-by: Alex Groleau source@proof.construction
2023-11-30 16:53:33 +01:00
Daniel R 6946cb0e2e
move question on rechecking binary cache to a Nix recipe (#808)
* mv question -f faqs -t nix-recipes

* add nix-recipes to page index and fix hierarchy

* change question to statement

* rephrase a few sentences and add links

* move the question to troubleshooting

* fix broken link

---------

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-11-30 16:41:18 +01:00
asymmetric 7cf19eced1
Add asymmetric to CODEOWNERS for workflows (#821) 2023-11-30 16:41:02 +01:00
Valentin Gagarin 755e949a53
reduce the sharing dependencies tutorial to a guide (#778)
* shorten the sharing dependencies article to a guide

the contents do not really warrant a full-blown tutorial

* use an example with an explicit build-time dependency

* fix typo

* link `inputsFrom` to Nixpkgs manual
2023-11-30 16:17:35 +01:00
dependabot[bot] d627f2d74d
chore(deps): bump cachix/cachix-action from 12 to 13
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from 12 to 13.
- [Release notes](https://github.com/cachix/cachix-action/releases)
- [Commits](https://github.com/cachix/cachix-action/compare/v12...v13)

---
updated-dependencies:
- dependency-name: cachix/cachix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-29 00:25:34 +00:00
dependabot[bot] 4c852890e9
chore(deps): bump cachix/install-nix-action from 23 to 24
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 23 to 24.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v23...v24)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-29 00:25:30 +00:00
Brian McGillion b58466875c
tutorial: Fix the markers to build and concatenate (#816)
The current code has a number of issues.

1. realising the code results in:

``
markers=$(geocode 'New York') size=640x640 scale=2 zoom=7 ...
        ^-------------------^ SC2046 (warning): Quote this to prevent
        word splitting.
``

2.
``
$(geocode ${lib.escapeShellArg marker.location})"
``

Assumes that geocode has been added to the PATH so replace with

``
${config.scripts.geocode}/bin/geocode
``

as per previous examples.

3.
``
  in "markers=${ lib.concatStringsSep "\\|" attributes}";
in builtins.map paramForMarker config.map.markers;
``

The ordering of this actually creates multiple ``[markers =]``
parameters and does not use the concatenation string to join the
attributes together (in effect there is only 1 attribute per call) to
map, and 1 new ``marker`` created.

Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
2023-11-28 21:30:28 +01:00
Ming 791eb47e44
Show option to enable hardware acceleration (#809)
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
Co-authored-by: Henrik <i97henka@gmail.com>
2023-11-27 16:59:49 +01:00
olaf 1a404f203e
vm improve reproducible command and 23.11 (#807)
* better reproducable command and 23.11

Co-authored-by: Henrik <i97henka@gmail.com>
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-11-27 16:39:04 +01:00
Silvan Mosberger 5b61e02ed8
Merge pull request #813 from fricklerhandwerk/fix-redirect
add missing redirect
2023-11-27 13:34:01 +01:00
Yannis Charalambidis cbc1b2e95e
Fix typo (#814) 2023-11-27 12:03:01 +01:00
Valentin Gagarin 6c7e15d61b add missing redirect 2023-11-27 07:49:03 +01:00
Brian McGillion 327c100954
tutorials: fix passing paramaters to geocode (#812)
* tutorials: fix passing paramaters to geocode

When running the package as-is the following error occurs

``geocode: line 7: $1: unbound``

This is caused because ``scripts.geocode`` does not pass the parameters
down to the wrapped script ``geocode``.

Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
2023-11-27 07:42:07 +01:00
Valentin Gagarin f587e1d1cf use sentence case for titles consistently 2023-11-27 07:31:32 +01:00
Valentin Gagarin 8264c846ef link to new Nix reference manual page 2023-11-27 07:31:32 +01:00
fricklerhandwerk fee5c5c2ab add update instructions 2023-11-27 07:30:36 +01:00