mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
Rename Derivation::pathOpt
to Derivation::path
We no longer need the `*Opt` to disambiguate.
This commit is contained in:
parent
6387550d58
commit
3a5cdd737c
5 changed files with 7 additions and 7 deletions
|
@ -40,7 +40,7 @@ DrvInfo::DrvInfo(EvalState & state, ref<Store> store, const std::string & drvPat
|
|||
throw Error("derivation '%s' does not have output '%s'", store->printStorePath(drvPath), outputName);
|
||||
auto & [outputName, output] = *i;
|
||||
|
||||
auto optStorePath = output.pathOpt(*store, drv.name, outputName);
|
||||
auto optStorePath = output.path(*store, drv.name, outputName);
|
||||
if (optStorePath)
|
||||
outPath = store->printStorePath(*optStorePath);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue