bintools: Add an assertion which produces better error messages

authored by Audrey Dutcher and committed by Alyssa Ross 8073fc75 f452bb94

+1
+1
pkgs/build-support/bintools-wrapper/default.nix
··· 60 , postLinkSignHook ? null, signingUtils ? null 61 }: 62 63 assert nativeTools -> !propagateDoc && nativePrefix != ""; 64 assert !nativeTools -> bintools != null && coreutils != null && gnugrep != null; 65 assert !(nativeLibc && noLibc);
··· 60 , postLinkSignHook ? null, signingUtils ? null 61 }: 62 63 + assert propagateDoc -> bintools ? man; 64 assert nativeTools -> !propagateDoc && nativePrefix != ""; 65 assert !nativeTools -> bintools != null && coreutils != null && gnugrep != null; 66 assert !(nativeLibc && noLibc);