diff options
author | Taeer Bar-Yam <taeer.bar-yam@tweag.io> | 2022-11-23 11:39:50 -0500 |
---|---|---|
committer | Taeer Bar-Yam <taeer.bar-yam@tweag.io> | 2022-11-23 11:39:50 -0500 |
commit | b13fd4c58e81b2b2b0d72caa5ce80de861622610 (patch) | |
tree | e928cb1cbef90e2493b4b3e8b19077150d3c0140 /src/nix/app.cc | |
parent | 62960f32915909a5104f2ca3a32b25fb3cfd34c7 (diff) |
Fix why-depends for CA derivations
why-depends assumed that we knew the output path of the second argument.
For CA derivations, we might not know until it's built. One way to solve
this would be to build the second installable to get the output path.
In this case we don't need to, though. If the first installable (A)
depends on the second (B), then getting the store path of A will
necessitate having the store path B. The contrapositive is, if the store
path of B is not known (i.e. it's a CA derivation which hasn't been
built), then A does not depend on B.
Diffstat (limited to 'src/nix/app.cc')
0 files changed, 0 insertions, 0 deletions