diff --git a/haskell/cabal.bzl b/haskell/cabal.bzl index 8199d42ce9..313f0893de 100644 --- a/haskell/cabal.bzl +++ b/haskell/cabal.bzl @@ -2525,13 +2525,14 @@ def stack_snapshot( main library component, `exe:` for an executable component, and `lib:` for a sublibrary. `exe` is a short-cut for `exe:`. The main library component - will have the label `@//:`, an executable + will have the label `@//:` as well as the alias `@//`, an executable component will have the label `@-exe//:`, and a sublibrary component will have the label `@//:` where `` is the name given to the `stack_snapshot` invocation. components_dependencies: Internal dependencies between package components. For each package, these dependencies are described as a string representing a JSON dictionary of lists. + (WARNING: this will likely change in the future). The most common case is the following, where the main library of a package depends on sublibraries: ```