blob: f0f3a683aab01fbdd458292f474df03ccd1312e2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
{ 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
|