mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-22 22:33:46 +03:00
versioning: simplify assertion evaluation
This commit is contained in:
parent
bed00fe937
commit
45c40c4eb9
@ -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);
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user