diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-11-26T16·15+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-11-26T16·15+0100 |
commit | 8d8d47abd2a66898aa5d8999fcd75b29991e529d (patch) | |
tree | 01ff64266efd7b5bf00f9e763b43f0b0fe469219 /src/nix-instantiate/nix-instantiate.cc | |
parent | 46a369ad9558939bc2c6ee588df483ca503bbb5a (diff) |
Only substitute wanted outputs of a derivation
If a derivation has multiple outputs, then we only want to download those outputs that are actuallty needed. So if we do "nix-build -A openssl.man", then only the "man" output should be downloaded. Likewise if another package depends on ${openssl.man}. The tricky part is that different derivations can depend on different outputs of a given derivation, so we may need to restart the corresponding derivation goal if that happens.
Diffstat (limited to 'src/nix-instantiate/nix-instantiate.cc')
0 files changed, 0 insertions, 0 deletions