mirror of
https://github.com/NixOS/nix
synced 2025-06-28 13:41:15 +02:00
Merge branch 'ca-derivation-data-types' of github.com:obsidiansystems/nix into misc-ca
This commit is contained in:
commit
007bf6d17a
4 changed files with 4 additions and 3 deletions
|
@ -45,7 +45,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