aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-03-04 08:40:12 +0100
committereldritch horrors <pennae@lix.systems>2024-03-04 08:40:12 +0100
commit044c117a9f8ae92241076b2afa1a419cdc912c5e (patch)
tree860bf29fabe4506f43505e83554e099bfec927a6 /doc
parent20d7b93b0c83db3d620009e440263d7ab8faeec6 (diff)
Merge pull request #9481 from iFreilicht/disallow-nix-search-without-search-terms
nix search: Disallow empty regex (cherry picked from commit 1c260fa6d1f47d83954792771d0614db163cc3bc) Change-Id: Iaaf3605c24a342fcb05d0b534a9f305533d3b5fa
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/rl-next/empty-search-regex.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/manual/rl-next/empty-search-regex.md b/doc/manual/rl-next/empty-search-regex.md
new file mode 100644
index 000000000..b193f9456
--- /dev/null
+++ b/doc/manual/rl-next/empty-search-regex.md
@@ -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 `^`.
+
+}
+