mirror of
https://github.com/NixOS/nix
synced 2025-07-10 13:03:55 +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
|
@ -164,7 +164,7 @@ static Expr evalExpr(Expr e)
|
|||
char * id;
|
||||
|
||||
if (ATmatch(value, "FSId(<str>)", &id)) {
|
||||
Strings paths = fstatePaths(parseHash(id));
|
||||
Strings paths = fstatePaths(parseHash(id), false);
|
||||
if (paths.size() != 1) abort();
|
||||
string path = *(paths.begin());
|
||||
ins = ATinsert(ins, ATmake("<str>", id));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue