mutt: assert relations between configuration options

Existing postPatch/postInstall phases bring reference to "openssl" if gpgme or
smime are enabled, regardless of "enableSSL" configuration option.

To avoid unnecessary illusion we refuse to evaluate "+gpgme -ssl" configuration
instead of building output that does not match requested configuration.
This commit is contained in:
Dmitry Bogatov
2023-02-12 12:46:09 -05:00
parent b71a0e4f1b
commit 21f8a7ca84
@@ -18,6 +18,8 @@
, gssSupport ? true
, writeScript
}:
assert smimeSupport -> sslSupport;
assert gpgmeSupport -> sslSupport;
stdenv.mkDerivation rec {
pname = "mutt";