···103103 # See below.
104104 "--without-threads"
105105 ]
106106- # Disable JIT on Apple Silicon, as it is not yet supported
107107- # https://debbugs.gnu.org/cgi/bugreport.cgi?bug=44505";
108108- ++ lib.optional (stdenv.isDarwin && stdenv.isAarch64) "--enable-jit=no"
109106 # At least on x86_64-darwin '-flto' autodetection is not correct:
110107 # https://github.com/NixOS/nixpkgs/pull/160051#issuecomment-1046193028
111108 ++ lib.optional (stdenv.isDarwin) "--disable-lto";