Closed aherrmann closed 4 years ago
CI fails because the workers have been switched to NixOS. https://github.com/tweag/rules_sh/pull/12 should adapt rules_sh
's CI.
@Mergifyio rebase
Command rebase
: success
Branch has been successfully rebased
LGTM. But I'm a little confused about the use case for these targets.
They are required for Stardoc documentation of rulesets depending on rules_sh
. E.g. for rules_haskell
we need to depend on @rules_sh//sh:posix
. If we don't then Stardoc fails with the following error
Stardoc documentation generation failed: File haskell/ghc_bindist.bzl imported '@rules_sh//sh:posix.bzl', yet external/rules_sh/sh/posix.bzl was not found, even at roots [., external/].
bzl_library
target definitions are required to generate Stardoc documentation for any rules set that depends onrules_sh
. This change is motivated by https://github.com/tweag/rules_haskell/pull/1244.