mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2026-02-01 23:25:11 +01:00
fix: reduce the number of erroneous matches in nix-index (github #45)
This commit is contained in:
parent
e1b818530c
commit
561baacb9b
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ pub fn get_packages(
|
|||
);
|
||||
return None;
|
||||
}
|
||||
let result = command_output(shell, &format!("nix-locate 'bin/{}'", executable));
|
||||
let result = command_output(shell, &format!("nix-locate --regex 'bin/{}$'", executable));
|
||||
if result.is_empty() {
|
||||
return None;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue