1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-26 15:51:15 +02:00

Fix .ls file names in binary caches

These are not supposed to include the 'name' part of the store
path. This was broken by 759947bf72.
This commit is contained in:
Eelco Dolstra 2020-08-07 21:18:29 +02:00
parent 3c75ddc16b
commit edfd676e05
2 changed files with 2 additions and 2 deletions

View file

@ -219,7 +219,7 @@ void BinaryCacheStore::addToStore(const ValidPathInfo & info, Source & narSource
}
}
upsertFile(std::string(info.path.to_string()) + ".ls", jsonOut.str(), "application/json");
upsertFile(std::string(info.path.hashPart()) + ".ls", jsonOut.str(), "application/json");
}
/* Optionally maintain an index of DWARF debug info files