Commit 0a21b99
committed
Always create a file for exe stackage repository
When there are no executable components the repository rule would fail with a
IOException, e.g.:
```
ERROR: /home/runner/.cache/bazel/_bazel_runner/8c1e0159f4edbec0d500d51744201c1f/bazel_testing/bazel_6/WORKSPACE:111:15: fetching _stack_executables rule //external:stackage-exe: java.io.IOException: _stack_executables rule //external:stackage-exe must create a directory
ERROR: /home/runner/.cache/bazel/_bazel_runner/8c1e0159f4edbec0d500d51744201c1f/bazel_testing/bazel_6/BUILD.bazel:32:15: //:c2hs-toolchain-impl depends on @stackage-exe//c2hs:c2hs in repository @stackage-exe which failed to fetch. no such package '@stackage-exe//c2hs': _stack_executables rule //external:stackage-exe must create a directory
```1 parent ad369aa commit 0a21b99
1 file changed
+11
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2283 | 2283 | | |
2284 | 2284 | | |
2285 | 2285 | | |
2286 | | - | |
2287 | | - | |
2288 | | - | |
2289 | | - | |
| 2286 | + | |
| 2287 | + | |
| 2288 | + | |
| 2289 | + | |
| 2290 | + | |
2290 | 2291 | | |
2291 | 2292 | | |
2292 | 2293 | | |
| |||
2297 | 2298 | | |
2298 | 2299 | | |
2299 | 2300 | | |
2300 | | - | |
2301 | | - | |
2302 | | - | |
| 2301 | + | |
| 2302 | + | |
| 2303 | + | |
| 2304 | + | |
| 2305 | + | |
| 2306 | + | |
2303 | 2307 | | |
2304 | 2308 | | |
2305 | 2309 | | |
| |||
0 commit comments