about summary refs log tree commit diff
path: root/src/libstore/misc.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-06-02T16·43+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-06-02T16·43+0200
commitd64e0c1b64dc20b02fae335397213d1ca17d9d56 (patch)
treef667d3e2249ed3b8240c7a48e895fb540c3be550 /src/libstore/misc.cc
parenteda2aaae92c54892e70fff2958698e68a8204d35 (diff)
Make derivationFromPath work on diverted stores
Diffstat (limited to 'src/libstore/misc.cc')
-rw-r--r--src/libstore/misc.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/libstore/misc.cc b/src/libstore/misc.cc
index 5c284d1b9ab2..114ab565e08c 100644
--- a/src/libstore/misc.cc
+++ b/src/libstore/misc.cc
@@ -7,14 +7,6 @@
 namespace nix {
 
 
-Derivation Store::derivationFromPath(const Path & drvPath)
-{
-    assertStorePath(drvPath);
-    ensurePath(drvPath);
-    return readDerivation(drvPath);
-}
-
-
 void Store::computeFSClosure(const Path & path,
     PathSet & paths, bool flipDirection, bool includeOutputs, bool includeDerivers)
 {