diff --git a/pkgs/development/compilers/sbcl/default.nix b/pkgs/development/compilers/sbcl/default.nix index cc44c13940e6..0198dac1c444 100644 --- a/pkgs/development/compilers/sbcl/default.nix +++ b/pkgs/development/compilers/sbcl/default.nix @@ -25,7 +25,7 @@ stdenv.mkDerivation rec { (disable (x) (setf features (remove x features)))) '' - + stdenv.lib.optionalString threadSupport "(enable :sb-thread)" + + (if threadSupport then "(enable :sb-thread)" else "(disable :sb-thread)") + stdenv.lib.optionalString stdenv.isArm "(enable :arm)" + '' )) " > customize-target-features.lisp