Skip to content

Commit edfbd62

Browse files
committed
Make .ghcide script compatible with Bazel 7
The `--experimental_show_artifacts` flag was removed, so we do not rely on it anymore.
1 parent 1b031da commit edfbd62

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

rules_haskell_tests/.ghcide

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
#!/usr/bin/env bash
22
set -euo pipefail
33
build_ghcide() {
4-
bazel build //tests/ghcide \
5-
--experimental_show_artifacts \
6-
2>&1 \
7-
| awk '
8-
/^>>>/ { print substr($1, 4); next }
9-
{ print $0 > "/dev/stderr" }
10-
'
4+
bazel build //tests/ghcide && \
5+
bazel cquery //tests/ghcide --output=files
116
}
127
ghcide="$(build_ghcide)"
138
"$ghcide" "$@"

0 commit comments

Comments
 (0)