mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02:00
* Canonicalise path.
This commit is contained in:
parent
249988a787
commit
9f4ad99e92
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue