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/store-api.hh | |
parent | eda2aaae92c54892e70fff2958698e68a8204d35 (diff) |
Make derivationFromPath work on diverted stores
Diffstat (limited to 'src/libstore/store-api.hh')
-rw-r--r-- | src/libstore/store-api.hh | 2 |
1 files changed, 2 insertions, 0 deletions
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; } }; |