Skip to content

FR: allow make variable expansion in env= attribute #1543

@dmivankov

Description

@dmivankov

As mentioned in the docs

| <a id="kt_jvm_binary-env"></a>env | Environment variables to set when this binary is executed with `bazel run`. Note: for Starlark rules, values are used as-is (no automatic $(location) / make variable expansion). | <a href="https://bazel.build/rules/lib/core/dict">Dictionary: String -> String</a> | optional | `{}` |
currently you can't use $(location ) or other expansions in env= for say kt_jvm_binary. While java_binary supports it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions