From c3e482219336de55843da69b6a25c7fb3de03447 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Fri, 24 Jan 2025 10:10:20 +0100 Subject: [PATCH] docs --- NixOS.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/NixOS.md b/NixOS.md index 82689dc..b8fa4ad 100644 --- a/NixOS.md +++ b/NixOS.md @@ -537,15 +537,19 @@ Command explanation: - As an example, if the store object at path P contains a reference to a store object at path Q, then Q is in the closure of P. Further, if Q references R then R is also in the closure of P. ```shell -nix-store --query --requisites /run/current-system | grep cpupower -#=> /nix/store/2mnk7jknv47a5ja17i7gwfgmyqng0jbn-cpupower-6.12.10 +nix-store --query --requisites /run/current-system +#=> /nix/store/6a49zj2wva8nxw7sidw9j9bp2nifscbw-libXau-1.0.11 +#=> /nix/store/c25p9xs9n6grwx4i4l4kmz09scgcav4b-libxcb-1.17.0 +#=> /nix/store/zcq4irdcgn3ljqdnlpm2zjp7f1kw9jvm-libX11-1.8.10 ``` Not sure if this differs from (https://www.reddit.com/r/NixOS/comments/fsummx/comment/fm3xken/): ```shell -nix-store --query --requisites /run/current-system/sw | grep cpupower -#=> /nix/store/2mnk7jknv47a5ja17i7gwfgmyqng0jbn-cpupower-6.12.10 +nix-store --query --requisites /run/current-system/sw +#=> /nix/store/6a49zj2wva8nxw7sidw9j9bp2nifscbw-libXau-1.0.11 +#=> /nix/store/c25p9xs9n6grwx4i4l4kmz09scgcav4b-libxcb-1.17.0 +#=> /nix/store/zcq4irdcgn3ljqdnlpm2zjp7f1kw9jvm-libX11-1.8.10 ``` Alternative: