This commit is contained in:
Daniel Langbein 2025-01-24 10:10:20 +01:00
parent 1903cdc706
commit c3e4822193
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002

View File

@ -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. - 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 ```shell
nix-store --query --requisites /run/current-system | grep cpupower nix-store --query --requisites /run/current-system
#=> /nix/store/2mnk7jknv47a5ja17i7gwfgmyqng0jbn-cpupower-6.12.10 #=> /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/): Not sure if this differs from (https://www.reddit.com/r/NixOS/comments/fsummx/comment/fm3xken/):
```shell ```shell
nix-store --query --requisites /run/current-system/sw | grep cpupower nix-store --query --requisites /run/current-system/sw
#=> /nix/store/2mnk7jknv47a5ja17i7gwfgmyqng0jbn-cpupower-6.12.10 #=> /nix/store/6a49zj2wva8nxw7sidw9j9bp2nifscbw-libXau-1.0.11
#=> /nix/store/c25p9xs9n6grwx4i4l4kmz09scgcav4b-libxcb-1.17.0
#=> /nix/store/zcq4irdcgn3ljqdnlpm2zjp7f1kw9jvm-libX11-1.8.10
``` ```
Alternative: Alternative: