Skip to content

Commit

Permalink
wip: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
facundominguez committed Mar 18, 2021
1 parent f4f7021 commit 7d1c741
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
export PATH=$HOME/bazel:$PATH
[[ ${{ matrix.os }} == macos ]] && export BAZEL_USE_CPP_ONLY_TOOLCHAIN=1
./tests/run-start-script.sh --use-bindists
bazel test //tests/...
bazel test //tests/... --sandbox_debug
# Test stack_snapshot pinning
# NOTE keep in sync with tests/RunTests.hs
bazel run @stackage-pinning-test-unpinned//:pin
Expand Down
2 changes: 2 additions & 0 deletions haskell/private/runghc.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ source "$(grep -sm1 "^$f " "$0.exe.runfiles_manifest" | cut -f2- -d' ')" 2>/dev/
{{ echo>&2 "ERROR: cannot find $f"; exit 1; }}; f=; set -e
# --- end runfiles.bash initialization v2 ---
echo $0.runfiles_manifest 1>&2
cat $0.runfiles_manifest 1>&2
$(rlocation "{runghc}") "$@"
""".format(runghc = runghc_runfile_path),
is_executable = True,
Expand Down

0 comments on commit 7d1c741

Please sign in to comment.