mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-23 06:26:15 +02:00
BasicDerivation::findOutput cannot return reference anymore
This commit is contained in:
parent
442d43178b
commit
abea26a968
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ StorePath DerivationOutput::path(const Store & store, string drvName) const
|
||||||
}, output);
|
}, output);
|
||||||
}
|
}
|
||||||
|
|
||||||
const StorePath & BasicDerivation::findOutput(const Store & store, const string & id) const
|
const StorePath BasicDerivation::findOutput(const Store & store, const string & id) const
|
||||||
{
|
{
|
||||||
auto i = outputs.find(id);
|
auto i = outputs.find(id);
|
||||||
if (i == outputs.end())
|
if (i == outputs.end())
|
||||||
|
|
|
@ -52,7 +52,7 @@ struct BasicDerivation
|
||||||
|
|
||||||
/* Return the path corresponding to the output identifier `id' in
|
/* Return the path corresponding to the output identifier `id' in
|
||||||
the given derivation. */
|
the given derivation. */
|
||||||
const StorePath & findOutput(const Store & store, const std::string & id) const;
|
const StorePath findOutput(const Store & store, const std::string & id) const;
|
||||||
|
|
||||||
bool isBuiltin() const;
|
bool isBuiltin() const;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue