Skip to content

Commit c2d4c5d

Browse files
committed
wip
1 parent 384d491 commit c2d4c5d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

python/uv/private/lock.bzl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,11 @@ def _impl3(ctx):
142142
srcs = info.srcs
143143
py_runtime = info.py
144144

145-
args = args + [
145+
args = [
146+
uv.short_path,
147+
"pip",
148+
"compile",
149+
] + args + [
146150
src.short_path
147151
for src in srcs
148152
] + [
@@ -155,7 +159,7 @@ def _impl3(ctx):
155159
template = template,
156160
substitutions = {
157161
"out=replace": "out={}/{}".format(ctx.label.package, ctx.attr.output),
158-
"uv ": "{} {} ".format(uv.short_path, " ".join(args)),
162+
"uv pip compile": " ".join(args),
159163
},
160164
output = executable,
161165
is_executable = True,

0 commit comments

Comments
 (0)