bintools: Add an assertion which produces better error messages
This commit is contained in:
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);
|
||||
|
||||
Reference in New Issue
Block a user