bintools: Add an assertion which produces better error messages

This commit is contained in:
Audrey Dutcher
2024-05-21 08:20:45 +02:00
committed by Alyssa Ross
parent f452bb946c
commit 8073fc75a8
@@ -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);