mirror of
https://github.com/NixOS/nix.git
synced 2025-11-27 20:51:00 +01:00
* nix-store: --isvalid' -> --check-validity', `--validpath' ->
`--register-validity'. * `nix-store --register-validity': read arguments from stdin, and allow the references and deriver to be set.
This commit is contained in:
parent
a1e00bf6aa
commit
f20f081560
4 changed files with 34 additions and 17 deletions
|
|
@ -247,7 +247,7 @@ void canonicalisePathMetaData(const Path & path)
|
|||
}
|
||||
|
||||
|
||||
static bool isValidPathTxn(const Transaction & txn, const Path & path)
|
||||
bool isValidPathTxn(const Transaction & txn, const Path & path)
|
||||
{
|
||||
string s;
|
||||
return nixDB.queryString(txn, dbValidPaths, path, s);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue