mirror of
https://github.com/NixOS/nix
synced 2025-07-07 06:01:48 +02:00
Merge branch 'ca-drv' of github.com:Ericson2314/nix into misc-ca
This commit is contained in:
commit
df707d05d1
4 changed files with 6 additions and 10 deletions
|
@ -33,7 +33,7 @@ bool derivationIsCA(DerivationType dt) {
|
|||
};
|
||||
// Since enums can have non-variant values, but making a `default:` would
|
||||
// disable exhaustiveness warnings.
|
||||
abort();
|
||||
assert(false);
|
||||
}
|
||||
|
||||
bool derivationIsFixed(DerivationType dt) {
|
||||
|
@ -42,7 +42,7 @@ bool derivationIsFixed(DerivationType dt) {
|
|||
case DerivationType::CAFixed: return true;
|
||||
case DerivationType::CAFloating: return false;
|
||||
};
|
||||
abort();
|
||||
assert(false);
|
||||
}
|
||||
|
||||
bool derivationIsImpure(DerivationType dt) {
|
||||
|
@ -51,7 +51,7 @@ bool derivationIsImpure(DerivationType dt) {
|
|||
case DerivationType::CAFixed: return true;
|
||||
case DerivationType::CAFloating: return false;
|
||||
};
|
||||
abort();
|
||||
assert(false);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue