Skip to content

Commit 2564a15

Browse files
committed
fix: running under nix;
fix: escaping whitespaces in output_groups Signed-off-by: Timothy Klim <[email protected]>
1 parent f4a8115 commit 2564a15

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

xcodeproj/internal/execution_root.bzl

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ def write_execution_root_file(*, actions, bin_dir_path, name):
1515
output = actions.declare_file("{}_execution_root_file".format(name))
1616

1717
actions.run_shell(
18+
use_default_shell_env = True,
1819
outputs = [output],
1920
command = """\
2021
bin_dir_full="$(perl -MCwd -e 'print Cwd::abs_path shift' "{bin_dir}";)"

xcodeproj/internal/templates/bazel_build.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919
# - output_groups
2020
# - (optional) target_ids
2121

22-
output_groups_flag="--output_groups=$(IFS=, ; echo "${output_groups[*]}")"
23-
readonly output_groups_flag
22+
readonly output_groups_flag="--output_groups='$(IFS=, ; echo "${output_groups[*]}")'"
2423

2524
# Set `output_base`
2625

0 commit comments

Comments
 (0)