cyrus-sasl: set to null on non-musl per reviewer suggestion

Unclear what the problem is exactly regarding regenerating files,
so this makes the change only impact build configs known to need it.
This commit is contained in:
Will Dietz 2018-09-24 09:44:30 -05:00
parent 90268efa38
commit c0660c4c00

View file

@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
# Avoid triggering regenerating using broken autoconf/libtool bits.
# (many distributions carry patches to remove/replace, but this works for now)
dontUpdateAutotoolsGnuConfigScripts = true;
dontUpdateAutotoolsGnuConfigScripts = if stdenv.hostPlatform.isMusl then true else null;
installFlags = lib.optional stdenv.isDarwin [ "framedir=$(out)/Library/Frameworks/SASL2.framework" ];