versioning: simplify assertion evaluation
This commit is contained in:
parent
bed00fe937
commit
45c40c4eb9
|
@ -93,6 +93,6 @@ in
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
# Force evaluation. An actual option value is never assigned
|
# 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);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user