Repository navigation
docs-e2e: build drvPath of every NixOS and Home Manager configuration - #148
Merged
Merged
Conversation
The e2e suite only read a few fields of each configuration. It now forces config.system.build.toplevel.drvPath for every nixosConfigurations entry and activationPackage.drvPath for every homeConfigurations entry of the minimal template, the fleet template, and the rich in-file fleet.
… drvPath checks The toplevel of host work threw its NixOS assertions, which the new drvPath check exposed. Checks are now one per kind so a failure names its source, and the helpers live in the file's single top-level let.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The e2e suite only read a few fields of each configuration, so a configuration that failed to build could pass.
It now forces
config.system.build.toplevel.drvPathfor everynixosConfigurationsentry andactivationPackage.drvPathfor everyhomeConfigurationsentry of the minimal template, the fleet template, and the rich in-file fleet. An empty set fails the check.Not run locally: e2e runs in CI only. The new mutant check is not yet armed; CI result follows.