aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/rl-next/addDrvOutputDependencies.md
blob: 0442383ecbb03b3b4cdaf3a391eb3272dfb9e797 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
synopsis: "Add a builtin `addDrvOutputDependencies`"
prs: 9216
issues: 7910
credits: [ericson, horrors]
category: Features
---

This builtin allows taking a `drvPath`-like string and turning it into a string
with context such that, when it lands in a derivation, it will create
dependencies on *all the outputs* in its closure (!). Although `drvPath` does this
today, this builtin starts forming a path to migrate to making `drvPath` have a
more normal and less surprising string context behaviour (see linked issue and
PR for more details).