1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-05 04:01:47 +02:00

* Fix self-referential outputs.

* Fix -qp query.
This commit is contained in:
Eelco Dolstra 2003-07-16 08:30:26 +00:00
parent d41d085b77
commit c11bbcfd26
5 changed files with 28 additions and 30 deletions

View file

@ -157,14 +157,15 @@ static void opQuery(Strings opFlags, Strings opArgs)
switch (query) {
#if 0
case qPath: {
StringSet refs;
cout << format("%s\n") %
(string) fstatePath(realiseFState(termFromHash(hash), refs));
Strings paths = fstatePaths(id, true);
for (Strings::iterator i = paths.begin();
i != paths.end(); i++)
cout << format("%s\n") % *i;
break;
}
#if 0
case qRefs: {
StringSet refs;
FState fs = hash2fstate(hash);