Proposal: Depending on DAR packages shipped with the SDK #2979
Labels
discussion
Things to be discussed and decided
language/now
Language team priority NOW
language
Language team work
Currently, depending on a DAR package requires specifying a relative or absolute path to the DAR. This does not work well if we want to start distributing libraries with the SDK, e.g., I would like to ship a prototype of DAML triggers soon which will require shipping the trigger library.
I propose that we extend the
dependencies
field indaml.yaml
to support paths of the form$SDK/lib.dar
which will automatically be resolved to something like~/.daml/sdk/$CURRENT_SDK/daml-libs
. That should be easy to implement and reasonably easy to use and makes it feasible to commit this in your repository.cc @associahedron as the benevolent dictator of the assistant and @Robin-da and @nickchapman-da for general packaging questions and @bame-da for UX feedback.
The text was updated successfully, but these errors were encountered: