mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
Add UnimplementedError to ease grepping for these
This commit is contained in:
parent
745a03cef5
commit
362ae93851
4 changed files with 4 additions and 3 deletions
|
@ -44,7 +44,7 @@ struct DerivationOutput
|
|||
/* DEPRECATED: Remove after CA drvs are fully implemented */
|
||||
StorePath path(const Store & store, std::string_view drvName) const {
|
||||
auto p = pathOpt(store, drvName);
|
||||
if (!p) throw Error("floating content-addressed derivations are not yet implemented");
|
||||
if (!p) throw UnimplementedError("floating content-addressed derivations are not yet implemented");
|
||||
return *p;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue