1
1
Fork 0
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:
Graham Christensen 2025-06-02 10:37:57 -04:00
parent 44bdb74c62
commit 1647cb56c1

View file

@ -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`