mirror of
https://codeberg.org/privacy1st/nix-git
synced 2025-01-31 07:25:15 +01:00
docs
This commit is contained in:
parent
1903cdc706
commit
c3e4822193
12
NixOS.md
12
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.
|
- 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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user