mirror of
https://github.com/NixOS/nix.git
synced 2025-11-25 03:39:36 +01:00
* --realise' -> --install'.
This commit is contained in:
parent
5895c160c4
commit
be96c2189c
2 changed files with 5 additions and 8 deletions
|
|
@ -125,11 +125,8 @@ static string queryPathByHashPrefix(Hash hash, const string & prefix)
|
|||
for (Strings::iterator it = paths.begin();
|
||||
it != paths.end(); it++)
|
||||
{
|
||||
debug(*it);
|
||||
string path = *it;
|
||||
try {
|
||||
debug(path);
|
||||
debug(prefix);
|
||||
if (isInPrefix(path, prefix) && hashPath(path) == hash)
|
||||
return path;
|
||||
} catch (Error & e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue