Skip to content
CCPEDIAby Unity Nodes
App Development

How to include external dar location for `daml build`

1 posts184 viewsLast activity Feb 2022

  1. LucianoOP

    When providing dependencies in a daml.yaml file, the SDK libraries don’t require a path. e.g.:

    dependencies:
      - daml-prim
      - daml-stdlib
      - daml-script
      - ../my-library/my-library-1.0.0
    

    However, adding my own dependency requires adding a relative or absolute path, as can be seen in the last line above.

    Is it possible to provide an option to daml build specifying where to look for libraries (something like -I in gcc?). If not, could we add such a feature? It would improve package management.

    cc @georg