Conversation
ncfavier
left a comment
There was a problem hiding this comment.
LGTM, though there are still a couple uses of the top-level nixosTest alias left.
|
|
||
| Notable attributes: | ||
|
|
||
| * `nodes`: the evaluated NixOS configurations. Useful for debugging and exploring the configuration. |
There was a problem hiding this comment.
Note that in #164660 I changed nodes from being a function that takes a qemu package to that function applied to pkgs.qemu_test. I didn't give it much thought back then, and I don't know what we actually want to expose here.
There was a problem hiding this comment.
I guess that change didn't invalidate the spirit of this doc. Did you have a specific reason to change it, or was it for implementation simplicity?
I think we could change it back when making the tests more flexible as I've proposed in #171396. The qemu package will be configurable, so if you want to apply it to another qemu, you can do so by defining the option value instead. I'm leaning towards leaving this as is for the time being.
There was a problem hiding this comment.
Did you have a specific reason to change it, or was it for implementation simplicity?
It was just for simplicity.
…sTest-test And improve the test a bit, to assert correct wiring of `pkgs`.
….release; Already present in nixos/modules/testing/test-instrumentation.nix, which is imported by the test framework.
Description of changes
Closes #156785
Tidy up the testers a bit.
invalidateFetcherByDrvHashinto place as expected from docsnixosTesttotesterstoo and document it in the manualThings done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes