Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

downgrade latest Nix to 2.23 #1058

Merged
merged 1 commit into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions nix/nix-versions.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
{
"2.24": {
"url": "https://github.com/nixos/nix/tarball/450252c92c3b5d0e7e71398fdc9f7630cf197326",
"version": "2.24.3",
"sha256": "0mzx2wpj1c9qjf50d5dbkhfx31p6mc5cmrjg99jmjk9izqq6hh8d"
},
"2.23": {
"url": "https://github.com/nixos/nix/tarball/9297d927c98313bd0434e0861f5718af28b8e042",
"version": "2.23.4",
Expand Down
8 changes: 4 additions & 4 deletions source/tutorials/nixos/distributed-builds-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ builders-use-substitutes = true
::::{dropdown} Detailed explanation
The first line registers the remote machine as a remote builder by specifying
- The protocol, user, and hostname
- The *local machine*'s [system type](https://nix.dev/manual/nix/2.24/command-ref/conf-file#conf-system)
- The *local machine*'s [system type](https://nix.dev/manual/nix/2.23/command-ref/conf-file#conf-system)

This will delegate jobs for that system type to the *remote machine*.

Expand All @@ -143,7 +143,7 @@ The first line registers the remote machine as a remote builder by specifying

This particular list must be specified in order to delegate building compilers and running [NixOS VM tests](integration-testing-vms) to remote machines.

See the [reference documentation on the `builders` setting](https://nix.dev/manual/nix/2.24/command-ref/conf-file#conf-builders) for details.
See the [reference documentation on the `builders` setting](https://nix.dev/manual/nix/2.23/command-ref/conf-file#conf-builders) for details.

The second line instructs all remote builders to obtain dependencies from its own binary caches instead of from the *local machine*.
This assumes that the remote builders' internet connection is at least as fast as the local machine's internet connection.
Expand Down Expand Up @@ -198,7 +198,7 @@ If your *local machine* runs NixOS, in its configuration directory create the fi
This configuration module enables distributed builds and adds the remote builder, specifying:
- The SSH hostname and username
- The location of the SSH key
- Which *local machine*'s [system type](https://nix.dev/manual/nix/2.24/command-ref/conf-file#conf-system)
- Which *local machine*'s [system type](https://nix.dev/manual/nix/2.23/command-ref/conf-file#conf-system)

This will delegate jobs for that system type to the *remote machine*.

Expand Down Expand Up @@ -293,7 +293,7 @@ To maximise parallelism, enable automatic garbage collection, and prevent Nix bu
```

:::{tip}
Refer to the [Nix reference manual](https://nix.dev/manual/nix/2.24/command-ref/conf-file) for details on the options available in [`nix.settings`](https://search.nixos.org/options?show=nix.settings).
Refer to the [Nix reference manual](https://nix.dev/manual/nix/2.23/command-ref/conf-file) for details on the options available in [`nix.settings`](https://search.nixos.org/options?show=nix.settings).
:::

Remote builders can have different performance characteristics.
Expand Down
Loading