Skip to content

Commit 9bd8f0b

Browse files
committed
wip
1 parent 6187cf4 commit 9bd8f0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bazeldnf/private/lock-file-helpers.bzl

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ def _update_lock_file_impl(ctx):
1919

2020
bzlmod_args = []
2121
for exclude in ctx.attr.excludes:
22-
bzlmod_args.extend(["-i", shell.quote(exclude)])
22+
bzlmod_args.extend(["--force-ignore-with-dependencies", shell.quote(exclude)])
2323
if ctx.attr.rpms:
2424
bzlmod_args.extend(ctx.attr.rpms)
2525
if bzlmod_args:
26-
bzlmod_args = ["-r", ctx.attr.repofile, "-o", ctx.attr.lock_file] + bzlmod_args
26+
bzlmod_args = ["--repofile", ctx.attr.repofile, "--output", ctx.attr.lock_file] + bzlmod_args
2727

2828
if ctx.attr.nobest and "--nobest":
2929
bzlmod_args.append("--nobest")

0 commit comments

Comments
 (0)