Add "nix add-to-store" command

This commit is contained in:
Eelco Dolstra 2017-09-14 13:22:32 +02:00
parent 1c58ad2ffa
commit 970366266b
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
4 changed files with 67 additions and 4 deletions

View file

@ -233,6 +233,8 @@ struct CmdWhyDepends : SourceExprCommand
}
};
// FIXME: should use scanForReferences().
visitPath(node.path);
for (auto & ref : refs) {