a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
10 lines
322 B
Nix
10 lines
322 B
Nix
{ lib, stdenv, pkgs, makeSetupHook, waf }:
|
|
|
|
makeSetupHook {
|
|
name = "waf-hook";
|
|
substitutions = {
|
|
inherit waf;
|
|
crossFlags = lib.optionalString (stdenv.hostPlatform.system != stdenv.targetPlatform.system)
|
|
''--cross-compile "--cross-execute=${stdenv.targetPlatform.emulator pkgs}"'';
|
|
};
|
|
} ./setup-hook.sh
|