stdenv: mesonFlags: use canExecute in needs_exe_wrapper

this is more accurate
This commit is contained in:
Artturin 2022-08-01 02:27:15 +03:00
parent 4885138129
commit 9f309c8792

View File

@ -384,7 +384,7 @@ else let
crossFile = builtins.toFile "cross-file.conf" ''
[properties]
needs_exe_wrapper = true
needs_exe_wrapper = ${lib.boolToString (!stdenv.buildPlatform.canExecute stdenv.hostPlatform)}
[host_machine]
system = '${stdenv.targetPlatform.parsed.kernel.name}'