Skip to content

Commit 0fc3804

Browse files
Merge pull request #276 from ameertaweel/fix-unexpected-arg-top-level
fix(`command-not-found.nu`): don't use `--top-level`
2 parents 5bf9709 + 32f3ebd commit 0fc3804

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

command-not-found.nu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
]
3030
$lines | str join "\n"
3131
}
32-
let pkgs = (@out@/bin/nix-locate --minimal --no-group --type x --type s --top-level --whole-name --at-root $"/bin/($cmd_name)" | lines)
32+
let pkgs = (@out@/bin/nix-locate --minimal --no-group --type x --type s --whole-name --at-root $"/bin/($cmd_name)" | lines)
3333
let len = ($pkgs | length)
3434
let ret = match $len {
3535
0 => null,

0 commit comments

Comments
 (0)