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:
parent
d66ea83a76
commit
2398af13c5
3 changed files with 39 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue