File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -136,27 +136,24 @@ _lock = rule(
136136
137137def _impl3 (ctx ):
138138 info = ctx .attr .lock [_LockInfo ]
139- template = info .template
140139 uv = info .uv
141- args = info .args
142- srcs = info .srcs
143140 py_runtime = info .py
144141
145142 args = [
146143 uv .short_path ,
147144 "pip" ,
148145 "compile" ,
149- ] + args + [
146+ ] + info . args + [
150147 src .short_path
151- for src in srcs
148+ for src in info . srcs
152149 ] + [
153150 "--python" ,
154151 py_runtime .interpreter .short_path ,
155152 ]
156153
157154 executable = ctx .actions .declare_file (ctx .label .name )
158155 ctx .actions .expand_template (
159- template = template ,
156+ template = info . template ,
160157 substitutions = {
161158 "out=replace" : "out={}/{}" .format (ctx .label .package , ctx .attr .output ),
162159 "uv pip compile" : " " .join (args ),
You can’t perform that action at this time.
0 commit comments