Skip to content

Conversation

@abelino
Copy link
Contributor

@abelino abelino commented Apr 22, 2025

Overriding can be done via a mix dep configuration:

{:bacnet,
  github: "redwirelabs/bacnet_ex",
  ref: "aa072af",
  system_env: [
    {"BACNET_GIT_REPOSITORY", "git@github.com:hello/bacnet-stack.git"},
    {"BACNET_GIT_REF", "fffffff"}
  ]
}

@abelino abelino requested a review from amclain April 22, 2025 04:24
@abelino abelino self-assigned this Apr 22, 2025
@abelino
Copy link
Contributor Author

abelino commented Apr 23, 2025

Closing. This didn't pan out due to hex/elixir reasons. At compile time, we can provide the ENV overrides and they do seem to be available. However, the ENV vars seem to only be available when the dependency is compiled. Any subsequent top project build will result in the ENV vars not being available and thus not working.

@abelino abelino closed this Apr 23, 2025
@abelino abelino deleted the feat/add-env-override-for-bacnet-stack-repo branch April 23, 2025 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants