From cc020bf3d602d2a95b40d1b3e569489fc25ed189 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Fri, 27 Jun 2025 19:38:43 +0300 Subject: [PATCH] nix-{why-depends, classic, store}: use a more explicit package name instead of ellipsis (#16915) --- pages/common/nix-classic.md | 2 +- pages/common/nix-store.2.md | 8 ++++---- pages/common/nix-store.3.md | 6 +++--- pages/common/nix-why-depends.md | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/pages/common/nix-classic.md b/pages/common/nix-classic.md index 4c6a5e795a..55d2e7e77b 100644 --- a/pages/common/nix-classic.md +++ b/pages/common/nix-classic.md @@ -19,7 +19,7 @@ - Show all dependencies of a store path (package), in a tree format: -`nix-store {{[-q|--query]}} --tree {{/nix/store/...}}` +`nix-store {{[-q|--query]}} --tree /nix/store/{{checksum-package-version.ext}}` - Update the channels (repositories): diff --git a/pages/common/nix-store.2.md b/pages/common/nix-store.2.md index ae01d7f9a7..9a46cacb57 100644 --- a/pages/common/nix-store.2.md +++ b/pages/common/nix-store.2.md @@ -14,16 +14,16 @@ - Delete a specific store path (must be unused): -`nix-store --delete {{/nix/store/...}}` +`nix-store --delete /nix/store/{{checksum-package-version.ext}}` - Show all dependencies of a store path (package), in a tree format: -`nix-store {{[-q|--query]}} --tree {{/nix/store/...}}` +`nix-store {{[-q|--query]}} --tree /nix/store/{{checksum-package-version.ext}}` - Calculate the total size of a certain store path with all the dependencies: -`du {{[-cLsh|--total --dereference --summarize --human-readable]}} $(nix-store {{[-q|--query]}} --references {{/nix/store/...}})` +`du {{[-cLsh|--total --dereference --summarize --human-readable]}} $(nix-store {{[-q|--query]}} --references /nix/store/{{checksum-package-version.ext}})` - Show all dependents of a particular store path: -`nix-store {{[-q|--query]}} --referrers {{/nix/store/...}}` +`nix-store {{[-q|--query]}} --referrers /nix/store/{{checksum-package-version.ext}}` diff --git a/pages/common/nix-store.3.md b/pages/common/nix-store.3.md index bad804585f..8911aedc14 100644 --- a/pages/common/nix-store.3.md +++ b/pages/common/nix-store.3.md @@ -14,12 +14,12 @@ - Delete a specific store path (most be unused): -`nix store delete {{/nix/store/...}}` +`nix store delete /nix/store/{{checksum-package-version.ext}}` - List a contents of the store path, on a remote store: -`nix store --store {{https://cache.nixos.org}} ls {{/nix/store/...}}` +`nix store --store {{https://cache.nixos.org}} ls /nix/store/{{checksum-package-version.ext}}` - Show the differences in versions between two store paths, with their respective dependencies: -`nix store diff-closures {{/nix/store/...}} {{/nix/store/...}}` +`nix store diff-closures /nix/store/{{checksum-package-version.ext}} /nix/store/{{checksum-package-version.ext}}` diff --git a/pages/common/nix-why-depends.md b/pages/common/nix-why-depends.md index 5dfd26ca59..99835262cb 100644 --- a/pages/common/nix-why-depends.md +++ b/pages/common/nix-why-depends.md @@ -5,7 +5,7 @@ - Show why the currently running NixOS system requires a certain store path: -`nix why-depends {{/run/current-system}} {{/nix/store/...}}` +`nix why-depends {{/run/current-system}} /nix/store/{{checksum-package-version.ext}}` - Show why a package from nixpkgs requires another package as a _build-time_ dependency: