Skip to content

Commit

Permalink
Merge pull request #212 from flux-framework/update-package/flux-core-…
Browse files Browse the repository at this point in the history
…2024-08-07

Update from update-package/flux-core-2024-08-07
  • Loading branch information
vsoch authored Aug 7, 2024
2 parents 548df27 + d6e785b commit b9c0618
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/flux-core/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,12 @@ def setup_build_environment(self, env):
env.append_path("LUA_PATH", "./?.lua", separator=";")

def setup_run_environment(self, env):
# If this package is external, we expect the external provider to set things
# like LUA paths. So, we early return. If the package is not external,
# properly set these environment variables to make sure the user environment
# is configured correctly
if self.spec.external:
return
env.prepend_path(
"LUA_PATH", os.path.join(self.spec.prefix, self.lua_share_dir, "?.lua"), separator=";"
)
Expand Down

0 comments on commit b9c0618

Please sign in to comment.