diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-06-02T16·43+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-06-02T16·43+0200 |
commit | d64e0c1b64dc20b02fae335397213d1ca17d9d56 (patch) | |
tree | f667d3e2249ed3b8240c7a48e895fb540c3be550 /src/libstore/misc.cc | |
parent | eda2aaae92c54892e70fff2958698e68a8204d35 (diff) |
Make derivationFromPath work on diverted stores
Diffstat (limited to 'src/libstore/misc.cc')
-rw-r--r-- | src/libstore/misc.cc | 8 |
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) { |