1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-28 05:00:58 +01:00

Merge pull request #82 from DeterminateSystems/graham/fh-834-fix-missing-command-nix-store-query-deriver

Document how to replicate nix-store --query --deriver with the nix cli
This commit is contained in:
Eelco Dolstra 2025-06-02 15:07:59 +00:00 committed by GitHub
commit 03f3faf150
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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`