8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
10 lines
330 B
Nix
10 lines
330 B
Nix
{ 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
|