Skip to content

Commit

Permalink
Merge pull request #1411 from tweag/static-feature
Browse files Browse the repository at this point in the history
Consistently allow files in tools attribute
  • Loading branch information
mergify[bot] authored Aug 17, 2020
2 parents a493242 + 5294e36 commit 37120b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions haskell/cabal.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -775,6 +775,7 @@ haskell_cabal_binary = rule(
),
"tools": attr.label_list(
cfg = "host",
allow_files = True,
doc = """Tool dependencies. They are built using the host configuration, since
the tools are executed as part of the build.""",
),
Expand Down
1 change: 1 addition & 0 deletions haskell/defs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ _haskell_common_attrs = {
),
"tools": attr.label_list(
cfg = "host",
allow_files = True,
),
"_ghci_script": attr.label(
allow_single_file = True,
Expand Down

0 comments on commit 37120b1

Please sign in to comment.