mirror of
https://github.com/NixOS/nix.git
synced 2025-12-14 13:01:05 +01:00
Document how to replicate nix-store --query --deriver with the nix command
This commit is contained in:
parent
44bdb74c62
commit
1647cb56c1
1 changed files with 7 additions and 0 deletions
|
|
@ -103,6 +103,13 @@ symlink.
|
|||
example when *paths* were substituted from a binary cache.
|
||||
Use `--valid-derivers` instead to obtain valid paths only.
|
||||
|
||||
> **Note**
|
||||
>
|
||||
> `nix-store --query --deriver` is replaced with the following `nix` command:
|
||||
>
|
||||
> nix path-info --json ... | jq -r '.[].deriver'
|
||||
|
||||
|
||||
[deriver]: @docroot@/glossary.md#gloss-deriver
|
||||
|
||||
- `--valid-derivers`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue