mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 16:26:18 +02:00
nix why-depends: Fix misleading message
This commit is contained in:
parent
94eb5fad76
commit
dfe8f3ebc6
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue