summary refs log tree commit diff
path: root/nix/libstore/misc.hh
diff options
context:
space:
mode:
authorMaxime Devos <maximedevos@telenet.be>2022-09-10 19:20:40 +0200
committerMathieu Othacehe <othacehe@gnu.org>2022-09-11 16:43:30 +0200
commit4b32f87e9adf91d5d94287562d8844727d47a07b (patch)
tree07c84ef109a933372649b1754f5cfd2d2f012b0b /nix/libstore/misc.hh
parent93032586df6b925e1ed9102dc3a77aa626aa60d3 (diff)
downloadguix-4b32f87e9adf91d5d94287562d8844727d47a07b.tar.gz
daemon: Remove unused function findOutput.
* nix/libstore/misc.cc (findOutput): Remove it.
* nix/libstore/misc.hh (findOutput): Likewise.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Diffstat (limited to 'nix/libstore/misc.hh')
-rw-r--r--nix/libstore/misc.hh4
1 files changed, 0 insertions, 4 deletions
diff --git a/nix/libstore/misc.hh b/nix/libstore/misc.hh
index edbf24047e..f70cda9fd0 100644
--- a/nix/libstore/misc.hh
+++ b/nix/libstore/misc.hh
@@ -21,10 +21,6 @@ void computeFSClosure(StoreAPI & store, const Path & path,
     PathSet & paths, bool flipDirection = false,
     bool includeOutputs = false, bool includeDerivers = false);
 
-/* Return the path corresponding to the output identifier `id' in the
-   given derivation. */
-Path findOutput(const Derivation & drv, string id);
-
 bool willBuildLocally(const Derivation & drv);
 
 bool substitutesAllowed(const Derivation & drv);