# Force Transitive Dependencies

**URL:** <https://forum.canton.network/t/force-transitive-dependencies/6292>\
**Category:** App Development\
**Tags:** daml, features and bugs\
**Created:** [March 16, 2023, 6:57pm UTC](https://forum.canton.network/t/force-transitive-dependencies/6292 "2023-03-16T18:57:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gtpaulose2](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/gtpaulose2/32/4237_2.png) [@gtpaulose2](https://forum.canton.network/u/gtpaulose2)\
**Post date:** [March 16, 2023, 6:57pm UTC](https://forum.canton.network/t/force-transitive-dependencies/6292/1 "2023-03-16T18:57:09Z")

</div>

Referencing this answer: [Problem with transitive dependencies - #4 by cocreature](https://discuss.daml.com/t/problem-with-transitive-dependencies/4051/4)

It would be great if i could force expose all packages within a dar.

Suppose I had a dar (main.dar) with 10 sub dars (one,dar, two.dar,…,ten.dar) packaged inside it, then my daml.yaml would look like this (if i wanted to access the templates inside the sub dars:

```haskell
data-dependencies:
  - <path_to_main.dar>
build-options:
 - --package=one-0.0.0
 - --package=two-0.0.0
 - --package=three-0.0.0
....
........
 - --package=ten-0.0.0

```

Ideally would be nice to be able to do the following,

```haskell
data-dependencies:
  - <path_to_main.dar>
build-options:
  - --unpack-packages=main-0.0.0

```

---

<div class="post-metadata">

**Author:** ![gtpaulose2](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/gtpaulose2/32/4237_2.png) [@gtpaulose2](https://forum.canton.network/u/gtpaulose2)\
**Post date:** [March 16, 2023, 6:59pm UTC](https://forum.canton.network/t/force-transitive-dependencies/6292/2 "2023-03-16T18:59:41Z")

</div>

This is useful as splitting of dars and packaging them as a bundle has advantages when upgrading and deploying
