diff --git a/pkgs/development/libraries/liquid-dsp/default.nix b/pkgs/development/libraries/liquid-dsp/default.nix index 2540eb9520f7..019749eac91a 100644 --- a/pkgs/development/libraries/liquid-dsp/default.nix +++ b/pkgs/development/libraries/liquid-dsp/default.nix @@ -19,7 +19,16 @@ stdenv.mkDerivation rec { sha256 = "sha256-3UKAwhYaYZ42+d+wiW/AB6x5TSOel8d++d3HeZqAg/8="; }; - configureFlags = lib.optionals stdenv.hostPlatform.isDarwin [ "LIBTOOL=${cctools}/bin/libtool" ]; + configureFlags = + lib.optionals stdenv.hostPlatform.isDarwin [ + "LIBTOOL=${cctools}/bin/libtool" + ] + ++ [ + # Prevent native cpu arch from leaking into binaries. This might lead to + # poor performance, but having portable and working executables is more + # important. + (lib.enableFeature true "simdoverride") + ]; nativeBuildInputs = [ autoreconfHook ]