Matthew Bauer
46f8756aee
Merge pull request #79593 from thefloweringash/wafhook-phases
...
wafHook: allow overriding phases and disabling of cross flags
2020-03-22 01:59:41 -04:00
Matthew Bauer
dfbe76a681
waf: move binary to $out/bin/
...
Originally this was just the executable, but this breaks nix-shell
usage. Instead, just do a normal directory.
Fixes #79909
2020-03-06 07:06:01 +01:00
Andrew Childs
03ffda3d1e
wafHoook: fix whitespace
2020-02-09 16:13:43 +09:00
Andrew Childs
032d5e7e83
wafHook: make crossFlags optional
...
The convention of `--cross-compile` and `--cross-execute` is common
enough that it seems like a reasonable default. However there are
projects like mpv which do not use these flags, and rightfully fails
to configure when passed unexpected flags.
2020-02-09 16:03:02 +09:00
Andrew Childs
c6791b2117
wafHook: allow overriding phases
...
This makes the wafHook a lot closer to the structure of standard hooks
like cmake and ninja.
2020-02-09 16:03:02 +09:00
xbreak
98d9a74223
wafHook: Refactored wafHook to use callPackage ( #64250 )
...
This is to enable custom wafHook with custom waf via the override
system.
2019-07-03 15:20:28 -04:00