1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-21 17:59:36 +01:00

* Negative caching, i.e. caching of build failures. Disabled by

default.  This is mostly useful for Hydra.
This commit is contained in:
Eelco Dolstra 2009-03-25 21:05:42 +00:00
parent 7024a1ef07
commit 92f525ecf4
7 changed files with 140 additions and 7 deletions

View file

@ -144,6 +144,13 @@ public:
void registerValidPaths(const ValidPathInfos & infos);
/* Register that the build of a derivation with output `path' has
failed. */
void registerFailedPath(const Path & path);
/* Query whether `path' previously failed to build. */
bool hasPathFailed(const Path & path);
private:
Path schemaPath;