nixos-rebuild-ng: add test when withReexec/withNgSuffix is used

This is to make sure that we don't introduce regressions in those code
paths.
This commit is contained in:
Thiago Kenji Okada
2025-06-27 11:45:21 +01:00
parent e18c139187
commit 31d8e6535b
+4 -2
View File
@@ -111,6 +111,10 @@ python3Packages.buildPythonApplication rec {
};
tests = {
with_reexec = nixos-rebuild-ng.override {
withReexec = true;
withNgSuffix = false;
};
with_nix_latest = nixos-rebuild-ng.override {
nix = nixVersions.latest;
};
@@ -122,11 +126,9 @@ python3Packages.buildPythonApplication rec {
nix = nixVersions.nix_2_3;
};
with_lix_latest = nixos-rebuild-ng.override {
# oldest / minimum supported version in nixpkgs
nix = lixPackageSets.latest.lix;
};
with_lix_stable = nixos-rebuild-ng.override {
# oldest / minimum supported version in nixpkgs
nix = lixPackageSets.stable.lix;
};