Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelnaranjo committed Jul 15, 2024
1 parent 94e552e commit 4d93e1f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions bazeldnf/extensions.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ based on: https://github.com/bazel-contrib/rules-template/blob/0dadcb716f06f6728
"""

load("@bazel_features//:features.bzl", "bazel_features")
load("//bazeldnf/private:toolchains_repo.bzl", "toolchains_repo")
load("//internal:rpm.bzl", rpm_repository = "rpm")
load(":repositories.bzl", "bazeldnf_register_toolchains")

Expand Down Expand Up @@ -38,7 +37,7 @@ _proxy_repo = repository_rule(

_DEFAULT_NAME = "bazeldnf"

def _handle_rpms(alias, mod, module_ctx):
def _handle_rpms(alias, mod):
if not mod.tags.rpm:
return {}

Expand Down Expand Up @@ -98,7 +97,7 @@ def _toolchain_extension(module_ctx):
alias = _alias.name
dev_dependency = _alias.dev_dependency

rpms = _handle_rpms(alias, mod, module_ctx)
rpms = _handle_rpms(alias, mod)
if rpms:
if not dev_dependency:
repos[alias] = 1
Expand Down
2 changes: 1 addition & 1 deletion bazeldnf/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_file", _http_archive
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
load("//bazeldnf/private:toolchains_repo.bzl", "toolchains_repo")
load("//tools:integrity.bzl", "PREBUILTS")
load("//tools:version.bzl", "VERSION", "REPO_URL")
load("//tools:version.bzl", "REPO_URL", "VERSION")
load(":platforms.bzl", "PLATFORMS")

def http_archive(name, **kwargs):
Expand Down

0 comments on commit 4d93e1f

Please sign in to comment.