1
0
Fork 0
forked from lix-project/lix

nix why-depends: Fix misleading message

This commit is contained in:
Eelco Dolstra 2020-07-15 20:09:50 +02:00
parent 94eb5fad76
commit dfe8f3ebc6

View file

@ -82,7 +82,9 @@ struct CmdWhyDepends : SourceExprCommand
store->computeFSClosure({packagePath}, closure, false, false);
if (!closure.count(dependencyPath)) {
printError("'%s' does not depend on '%s'", package->what(), dependency->what());
printError("'%s' does not depend on '%s'",
store->printStorePath(packagePath),
store->printStorePath(dependencyPath));
return;
}