diff options
Diffstat (limited to 'src/libstore/build.hh')
-rw-r--r-- | src/libstore/build.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libstore/build.hh b/src/libstore/build.hh index 2c6bcf9f2dea..45997ebb24d0 100644 --- a/src/libstore/build.hh +++ b/src/libstore/build.hh @@ -28,4 +28,9 @@ Derivation derivationFromPath(const Path & drvPath); void computeFSClosure(const Path & storePath, PathSet & paths, bool flipDirection = false); +/* Return the path corresponding to the output identifier `id' in the + given derivation. */ +Path findOutput(const Derivation & drv, string id); + + #endif /* !__BUILD_H */ |