diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2020-09-15 15:21:39 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2020-09-15 15:21:39 +0000 |
commit | 3a5cdd737cf529a7f641c4347f002b821a456a5d (patch) | |
tree | 7153276cf71c5212ffdfa375f43d075d9dadcadf /src/libexpr/get-drvs.cc | |
parent | 6387550d58884ac09204c339ed3a3cd700780a75 (diff) |
Rename `Derivation::pathOpt` to `Derivation::path`
We no longer need the `*Opt` to disambiguate.
Diffstat (limited to 'src/libexpr/get-drvs.cc')
-rw-r--r-- | src/libexpr/get-drvs.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/get-drvs.cc b/src/libexpr/get-drvs.cc index e66832182..91916e8bf 100644 --- a/src/libexpr/get-drvs.cc +++ b/src/libexpr/get-drvs.cc @@ -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); } |