Merge branch 'indexed-store-path-outputs' of github.com:obsidiansystems/nix into indexed-store-path-outputs

This commit is contained in:
John Ericson 2022-12-12 17:43:10 -05:00
commit f61d575810

View file

@ -184,13 +184,13 @@ operate are determined as follows:
/nix/store/q6580lr01jpcsqs4r5arlh4ki2c1m9rv-glibc-2.33-123-dev 44200560 /nix/store/q6580lr01jpcsqs4r5arlh4ki2c1m9rv-glibc-2.33-123-dev 44200560
``` ```
and likewise, again using a store path to a "drv" file to specify the derivation: and likewise, using a store path to a "drv" file to specify the derivation:
```console ```console
# nix path-info -S '/nix/store/gzaflydcr6sb3567hap9q6srzx8ggdgg-glibc-2.33-78.drv^*' # nix path-info -S '/nix/store/gzaflydcr6sb3567hap9q6srzx8ggdgg-glibc-2.33-78.drv^*'
``` ```
* If you didn't specify the desired outputs, but the derivation hs an * If you didn't specify the desired outputs, but the derivation has an
attribute `meta.outputsToInstall`, Nix will use those outputs. For attribute `meta.outputsToInstall`, Nix will use those outputs. For
example, since the package `nixpkgs#libxml2` has this attribute: example, since the package `nixpkgs#libxml2` has this attribute: