1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 00:11:17 +02:00

BinaryCacheStore: Implement getBuildLog()

We assume that build logs are stored under log/<drv>, e.g.

  /nix/store/q7ab198v13p0f8x8wgnd75dva7d5mip6-friday-devil-0.1.1.1.drv

maps to

  https://cache.nixos.org/log/q7ab198v13p0f8x8wgnd75dva7d5mip6-friday-devil-0.1.1.1.drv
This commit is contained in:
Eelco Dolstra 2017-03-13 14:07:58 +01:00
parent 5b86451f02
commit 532d73d5d8
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
3 changed files with 31 additions and 1 deletions

View file

@ -122,6 +122,8 @@ public:
void addSignatures(const Path & storePath, const StringSet & sigs) override
{ notImpl(); }
std::shared_ptr<std::string> getBuildLog(const Path & path) override;
};
}