[Bug]: nodejs_repo_host_os_alias
produces dangling symlink when Bzlmod is enabled
#3720
Labels
nodejs_repo_host_os_alias
produces dangling symlink when Bzlmod is enabled
#3720
What happened?
rules_nodejs/nodejs/private/nodejs_repo_host_os_alias.bzl
Lines 34 to 38 in 943800d
This logic fabricates a path into another repo, but the (canonical) name of that repo is different when Bzlmod is enabled.
Ideally this should be fixed by using a label somehow, but it's hard to get right and has the side effect of causing the symlink target repo to be fetched. So maybe just appending
_{os_name}
torepository_ctx.name
is the safest bet.Version
present on main; only an issue with Bzlmod enabled
How to reproduce
No response
Any other information?
No response
The text was updated successfully, but these errors were encountered: