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:
parent
d41d085b77
commit
c11bbcfd26
5 changed files with 28 additions and 30 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue