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

* Add an command `nix-store --query-failed-paths' to list the cached

failed paths (when using the `build-cache-failure' option).
This commit is contained in:
Eelco Dolstra 2010-04-26 12:43:42 +00:00
parent d66ea83a76
commit 2398af13c5
3 changed files with 39 additions and 3 deletions

View file

@ -184,6 +184,9 @@ public:
/* Query whether `path' previously failed to build. */
bool hasPathFailed(const Path & path);
/* Return the set of paths that have failed to build.*/
PathSet queryFailedPaths();
private:
Path schemaPath;
@ -203,6 +206,7 @@ private:
SQLiteStmt stmtInvalidatePath;
SQLiteStmt stmtRegisterFailedPath;
SQLiteStmt stmtHasPathFailed;
SQLiteStmt stmtQueryFailedPaths;
SQLiteStmt stmtAddDerivationOutput;
SQLiteStmt stmtQueryValidDerivers;
SQLiteStmt stmtQueryDerivationOutputs;