1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-26 12:10:59 +01:00

Recursive build error.... *2

This commit is contained in:
Wouter den Breejen 2007-10-12 10:05:17 +00:00
parent 65ba1f3008
commit 0ee803935e
12 changed files with 97 additions and 56 deletions

View file

@ -246,6 +246,14 @@ static void queryAvailableStateRevisions(Strings opFlags, Strings opArgs)
}
}
static void opIsStateStorePath(Strings opFlags, Strings opArgs) //Used by ..........
{
Path path = *(opArgs.begin());
bool isStateComponent = store->isStateComponent(path);
cout << format("%s") % bool2string(isStateComponent);
//TODO !!!!!!!!!!!!!!!!!!!!!!!!!!!! replace lvlErrors by cout << format("%s\n") % *i;
}
static void opShowSharedPaths(Strings opFlags, Strings opArgs)
{
@ -635,7 +643,8 @@ void run(Strings args)
op = opShowDerivations;
else if (arg == "--showrevisions")
op = queryAvailableStateRevisions;
else if (arg == "--is-state-store-path-download-using-manifests")
op = opIsStateStorePath;
//Revering State options
else if (arg.substr(0,21) == "--revert-to-revision="){