1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 02:21:16 +02:00

nix search: Disallow empty regex

Fixes #4739
Fixes #3553 in spirit IMO
This commit is contained in:
Felix Uhl 2023-11-27 23:09:32 +01:00
parent 17c202b3ea
commit 397cf4e285
4 changed files with 30 additions and 16 deletions

View file

@ -0,0 +1,8 @@
synopsis: Disallow empty search regex in `nix search`
prs: #9481
description: {
[`nix search`](@docroot@/command-ref/new-cli/nix3-search.md) now requires a search regex to be passed. To show all packages, use `^`.
}