Commit 8073fc75 authored by Audrey Dutcher's avatar Audrey Dutcher Committed by Alyssa Ross
Browse files

bintools: Add an assertion which produces better error messages

parent f452bb94
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -60,6 +60,7 @@
, postLinkSignHook ? null, signingUtils ? null
}:

assert propagateDoc -> bintools ? man;
assert nativeTools -> !propagateDoc && nativePrefix != "";
assert !nativeTools -> bintools != null && coreutils != null && gnugrep != null;
assert !(nativeLibc && noLibc);