Skip to content

Commit c4c394c

Browse files
committed
Make sure the Python interpreter can be found.
Some rules use Python from the system but with assumptions that don't work on systems with diferent paths such as NixOS or BSD. Make sure it can be found by using the `use_default_shell_env` option.
1 parent 1f962b8 commit c4c394c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

dependency_support/com_google_skywater_pdk/build_defs.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ def _skywater_corner_impl(ctx):
5454
inputs = ctx.files.srcs,
5555
arguments = [args],
5656
executable = ctx.executable._liberty_tool,
57+
use_default_shell_env = True,
5758
)
5859

5960
return [

dependency_support/org_theopenroadproject_asap7_pdk_r1p7/asap7.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ def _asap7_cell_library_impl(ctx):
247247
inputs = default_corner_libraries,
248248
arguments = [args],
249249
executable = ctx.executable._combine_liberty,
250+
use_default_shell_env = True,
250251
)
251252

252253
open_road_configuration = None

0 commit comments

Comments
 (0)