From 438d7b8b3e002f8d2d418b8fffe91f7f39cb749f Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Tue, 16 Jun 2026 09:54:47 +0000 Subject: [PATCH] nixos/test-driver: add release note that attr name now needs to be used The original commit changing this behavior was earlier, but I could not pinpoint that exactly. --- nixos/doc/manual/release-notes/rl-2605.section.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/doc/manual/release-notes/rl-2605.section.md b/nixos/doc/manual/release-notes/rl-2605.section.md index 412afda72e2a..3d3c85b5d126 100644 --- a/nixos/doc/manual/release-notes/rl-2605.section.md +++ b/nixos/doc/manual/release-notes/rl-2605.section.md @@ -57,6 +57,8 @@ Container-based tests also run fine on Nix builders that are themselves VMs without KVM, and because containers can bind-mount host device nodes, they make it possible to exercise GPU/CUDA workloads from within NixOS integration tests. See [the NixOS manual section on writing tests](https://nixos.org/manual/nixos/stable/#sec-writing-nixos-tests) for details on how to opt in and on the limitations of the container backend. + - Coincidentally the driver now exposes machines to the testScript using their attr name used in the test module. E.g. a machine declared with `nodes. = …` is now available as ``. Before, the test driver used their `system.name` option value. They both default to the same value, but if you have set both independently, you might need to adapt your testScript. + ## New Modules {#sec-release-26.05-new-modules}