From d64e0c1b64dc20b02fae335397213d1ca17d9d56 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 2 Jun 2016 18:43:36 +0200 Subject: Make derivationFromPath work on diverted stores --- src/libstore/store-api.hh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libstore/store-api.hh') diff --git a/src/libstore/store-api.hh b/src/libstore/store-api.hh index b665babc082c..7ef01ea93ed0 100644 --- a/src/libstore/store-api.hh +++ b/src/libstore/store-api.hh @@ -501,6 +501,8 @@ public: /* Register a permanent GC root. */ Path addPermRoot(const Path & storePath, const Path & gcRoot, bool indirect, bool allowOutsideRootsDir = false); + + virtual Path getRealStoreDir() { return storeDir; } }; -- cgit 1.4.1