openssl: don't create separateDebugInfo on android

This causes an infinite recursion when evaling tests.cross.gcc.file.aarch64-android
This commit is contained in:
jopejoe1 2025-05-10 17:30:44 +02:00
parent 48ccdb5d4e
commit 948c3f5e2c

View File

@ -98,7 +98,10 @@ let
++ lib.optional static "etc";
setOutputFlags = false;
separateDebugInfo =
!stdenv.hostPlatform.isDarwin && !(stdenv.hostPlatform.useLLVM or false) && stdenv.cc.isGNU;
!stdenv.hostPlatform.isDarwin
&& !stdenv.hostPlatform.isAndroid
&& !(stdenv.hostPlatform.useLLVM or false)
&& stdenv.cc.isGNU;
nativeBuildInputs =
lib.optional (!stdenv.hostPlatform.isWindows) makeBinaryWrapper