diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2020-07-23 19:14:17 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2020-07-23 19:14:17 +0000 |
commit | a2af25c55a9d8a0bc7333b5e3e3597353a2bd65a (patch) | |
tree | ca97858dfe36a99cc8a93083a67a7450db160eb6 /src/libstore/derivations.cc | |
parent | 6fcd9966bf71336107088b218c59477d3f7a874f (diff) | |
parent | 26fcab53e05ce66f5533f0f07ed13d727a891c8d (diff) |
Merge remote-tracking branch 'upstream/master' into misc-ca
Diffstat (limited to 'src/libstore/derivations.cc')
-rw-r--r-- | src/libstore/derivations.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/libstore/derivations.cc b/src/libstore/derivations.cc index 2a95c7e69..157fc1db1 100644 --- a/src/libstore/derivations.cc +++ b/src/libstore/derivations.cc @@ -53,14 +53,6 @@ bool derivationIsImpure(DerivationType dt) { abort(); } -const StorePath BasicDerivation::findOutput(const Store & store, const string & id) const -{ - auto i = outputs.find(id); - if (i == outputs.end()) - throw Error("derivation has no output '%s'", id); - return i->second.path(store, name); -} - bool BasicDerivation::isBuiltin() const { |