From eeed6c653b379ca0ca66a44417b46cba53790273 Mon Sep 17 00:00:00 2001 From: Finn Behrens Date: Sat, 1 Jan 2022 00:21:34 +0100 Subject: [PATCH] guile_3_0: fix aarch64-darwin build --- pkgs/development/interpreters/guile/3.0.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/guile/3.0.nix b/pkgs/development/interpreters/guile/3.0.nix index 5241c03a954e..76aa0c4404fc 100644 --- a/pkgs/development/interpreters/guile/3.0.nix +++ b/pkgs/development/interpreters/guile/3.0.nix @@ -99,7 +99,10 @@ builder rec { # See below. "--without-threads" - ]; + ] + # Disable JIT on Apple Silicon, as it is not yet supported + # https://debbugs.gnu.org/cgi/bugreport.cgi?bug=44505"; + ++ lib.optional (stdenv.isDarwin && stdenv.isAarch64) "--enable-jit=no"; postInstall = '' wrapProgram $out/bin/guile-snarf --prefix PATH : "${gawk}/bin"