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:
commit
03f3faf150
1 changed files with 7 additions and 0 deletions
|
|
@ -103,6 +103,13 @@ symlink.
|
||||||
example when *paths* were substituted from a binary cache.
|
example when *paths* were substituted from a binary cache.
|
||||||
Use `--valid-derivers` instead to obtain valid paths only.
|
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
|
[deriver]: @docroot@/glossary.md#gloss-deriver
|
||||||
|
|
||||||
- `--valid-derivers`
|
- `--valid-derivers`
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue