diff options
Diffstat (limited to 'src/store.cc')
-rw-r--r-- | src/store.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/store.cc b/src/store.cc index 6157b4bc22a1..65c44ca37fee 100644 --- a/src/store.cc +++ b/src/store.cc @@ -151,7 +151,7 @@ void unregisterPath(const string & _path) bool queryPathId(const string & path, FSId & id) { string s; - if (!queryDB(nixDB, dbPath2Id, path, s)) return false; + if (!queryDB(nixDB, dbPath2Id, absPath(path), s)) return false; id = parseHash(s); return true; } |