mirror of
https://github.com/NixOS/nix.git
synced 2025-11-14 22:42:41 +01:00
parent
fe97c69898
commit
c0015e87af
23 changed files with 205 additions and 213 deletions
|
|
@ -76,7 +76,7 @@ void LocalStore::syncWithGC()
|
|||
|
||||
void LocalStore::addIndirectRoot(const Path & path)
|
||||
{
|
||||
string hash = printHash32(hashString(htSHA1, path));
|
||||
string hash = hashString(htSHA1, path).to_string(Base32, false);
|
||||
Path realRoot = canonPath((format("%1%/%2%/auto/%3%")
|
||||
% stateDir % gcRootsDir % hash).str());
|
||||
makeSymlink(realRoot, path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue