aboutsummaryrefslogtreecommitdiff
path: root/src/nix-store/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix-store/main.cc')
-rw-r--r--src/nix-store/main.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/nix-store/main.cc b/src/nix-store/main.cc
index fa7960c38..a93956ab7 100644
--- a/src/nix-store/main.cc
+++ b/src/nix-store/main.cc
@@ -23,15 +23,6 @@ static int rootNr = 0;
static bool indirectRoot = false;
-static Path findOutput(const Derivation & drv, string id)
-{
- for (DerivationOutputs::const_iterator i = drv.outputs.begin();
- i != drv.outputs.end(); ++i)
- if (i->first == id) return i->second.path;
- throw Error(format("derivation has no output `%1%'") % id);
-}
-
-
static Path fixPath(Path path)
{
path = absPath(path);