From 100073a3b410d5d793b817a7118f81c0cd28c152 Mon Sep 17 00:00:00 2001 From: Philip Patsch Date: Thu, 22 Nov 2018 16:32:16 +0100 Subject: [PATCH] remove `provides` from rule(), because skydoc barfs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Similar to https://github.com/bazelbuild/skydoc/issues/59 it also doesn’t support `provides`. Since `provides` is just nice-to-have, we drop it for now. --- haskell/haskell.bzl | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/haskell/haskell.bzl b/haskell/haskell.bzl index 83b006173..b7ed4221f 100644 --- a/haskell/haskell.bzl +++ b/haskell/haskell.bzl @@ -2,9 +2,6 @@ load( "@io_tweag_rules_haskell//haskell:private/providers.bzl", - "HaskellBinaryInfo", - "HaskellBuildInfo", - "HaskellLibraryInfo", "HaskellPrebuiltPackageInfo", ) load(":private/set.bzl", "set") @@ -143,10 +140,6 @@ def _mk_binary_rule(**kwargs): "@io_tweag_rules_haskell//haskell:toolchain", "@bazel_tools//tools/cpp:toolchain_type", ], - provides = [ - HaskellBuildInfo, - HaskellBinaryInfo, - ], **kwargs ) @@ -212,10 +205,6 @@ haskell_library = rule( "@io_tweag_rules_haskell//haskell:toolchain", "@bazel_tools//tools/cpp:toolchain_type", ], - provides = [ - HaskellBuildInfo, - HaskellLibraryInfo, - ], ) """Build a library from Haskell source.