Skip to content

Commit

Permalink
Same problem for armv7a
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed Jan 13, 2025
1 parent 2f4016e commit 055d278
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions overlays/linux-cross.nix
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ let
# Also for GHC #15275
++ lib.optionals hostPlatform.isAarch64 ["--gcc-option=-fPIC"];

# Wrapper to output a warning for aarch64 Android
# Wrapper to output a warning for Android
qemuNotSupportedWarning = writeShellScriptBin "warning-wrapper" ''
echo "Warning: Running aarch64 Android apps on Linux using qemu is not supported." >&2
echo "Warning: Running Android apps on Linux using qemu is not supported." >&2
'';

# Wrapper for qemu testing
Expand All @@ -88,7 +88,7 @@ let

# Choose the appropriate test wrapper
testWrapper = lib.optional isLinuxCross
(if hostPlatform.isAndroid && hostPlatform.isAarch64
(if hostPlatform.isAndroid
then "${qemuNotSupportedWarning}/bin/warning-wrapper"
else "${qemuTestWrapper}/bin/test-wrapper");

Expand Down

0 comments on commit 055d278

Please sign in to comment.