2021-01-05 17:05:55 +00:00
|
|
|
{ lib, stdenv, pkgs, makeSetupHook, waf }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
makeSetupHook {
|
|
|
|
substitutions = {
|
|
|
|
inherit waf;
|
|
|
|
crossFlags = lib.optionalString (stdenv.hostPlatform.system != stdenv.targetPlatform.system)
|
|
|
|
''--cross-compile "--cross-execute=${stdenv.targetPlatform.emulator pkgs}"'';
|
|
|
|
};
|
|
|
|
} ./setup-hook.sh
|