mirror of
https://github.com/NixOS/nix
synced 2025-06-27 21:01:16 +02:00
Rename drv output querying functions, like master
- `queryDerivationOutputMapAssumeTotal` -> `queryPartialDerivationOutputMap` - `queryDerivationOutputMapAssumeTotal` -> `queryDerivationOutputMap
This commit is contained in:
parent
f899a7c6d7
commit
45a2f1baab
15 changed files with 31 additions and 31 deletions
|
@ -64,7 +64,7 @@ void EvalState::realiseContext(const PathSet & context)
|
|||
paths. */
|
||||
if (allowedPaths) {
|
||||
for (auto & [drvPath, outputs] : drvs) {
|
||||
auto outputPaths = store->queryDerivationOutputMapAssumeTotal(drvPath);
|
||||
auto outputPaths = store->queryDerivationOutputMap(drvPath);
|
||||
for (auto & outputName : outputs) {
|
||||
if (outputPaths.count(outputName) == 0)
|
||||
throw Error("derivation '%s' does not have an output named '%s'",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue