mirror of
https://github.com/NixOS/nix.git
synced 2025-11-26 04:00:59 +01:00
Fixed showrevisions. added commit/run/scan only options
This commit is contained in:
parent
30cf65af26
commit
ec7b0afb08
3 changed files with 74 additions and 55 deletions
|
|
@ -248,7 +248,7 @@ static void performOp(Source & from, Sink & to, unsigned int op)
|
|||
}
|
||||
|
||||
case wopIsValidStatePath: {
|
||||
Path path = readStorePath(from);
|
||||
Path path = readString(from); //TODO readStatePath
|
||||
startWork();
|
||||
bool result = store->isValidStatePath(path);
|
||||
stopWork();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue