versioning: simplify assertion evaluation

This commit is contained in:
Erik Arvstedt 2021-01-14 13:24:22 +01:00
parent bed00fe937
commit 45c40c4eb9
No known key found for this signature in database
GPG Key ID: 33312B944DD97846

View File

@ -93,6 +93,6 @@ in
config = {
# Force evaluation. An actual option value is never assigned
system.extraDependencies = optional (builtins.length incompatibleChanges > 0) (builtins.throw errorMsg);
system = optionalAttrs (builtins.length incompatibleChanges > 0) (builtins.throw errorMsg);
};
}