Commit 9966563
committed
Fix env-test for cross-compilation variants (static, JS)
Cross-compilation GHC packages only have target-prefixed binaries
(e.g. x86_64-unknown-linux-musl-ghc, javascript-unknown-ghcjs-ghc)
with no unprefixed bin/ghc symlink. Extract the correct GHC command
from NIX_CABAL_FLAGS --with-ghc=... which is set by the env script
for all cross-compilation shells.1 parent a6c51dd commit 9966563
1 file changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
414 | 414 | | |
415 | 415 | | |
416 | 416 | | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
417 | 429 | | |
418 | | - | |
| 430 | + | |
419 | 431 | | |
420 | 432 | | |
421 | 433 | | |
| |||
0 commit comments