blob: 4184bd5fe8cdc56e5b344135f852f673530fb091 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
{ lib, stdenv, pkgs, python, makeSetupHook, waf }:
makeSetupHook {
deps = [ python ];
substitutions = {
inherit waf;
crossFlags = lib.optionalString (stdenv.hostPlatform.system != stdenv.targetPlatform.system)
''--cross-compile "--cross-execute=${stdenv.targetPlatform.emulator pkgs}"'';
};
} ./setup-hook.sh
|