aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/split.hh
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2021-02-02 19:50:03 -0600
committerMatthew Bauer <mjbauer95@gmail.com>2021-02-02 19:53:19 -0600
commit3d1bbabe55eff6e67d91e0cbee781c2b756a2e92 (patch)
tree056e628ce9c5dcddb6ce0c9412971675f06c6983 /src/libutil/split.hh
parent0e05cb6c619afca77f0162d8f2cc62d6618500de (diff)
Use derivation output name from toDerivation
This fixes an issue where derivations with a primary output that is not "out" would fail with: $ nix profile install nixpkgs#sqlite error: opening directory '/nix/store/2a2ydlgyydly5czcc8lg12n6qqkfz863-sqlite-3.34.1-bin': No such file or directory This happens because while derivations produce every output when built, you might not have them if you didn't build the derivation yourself (for instance, the store path was fetch from a binary cache). This uses outputName provided from DerivationInfo which appears to match the first output of the derivation.
Diffstat (limited to 'src/libutil/split.hh')
0 files changed, 0 insertions, 0 deletions