summary refs log tree commit diff
path: root/pkgs/development/compilers/sbcl
diff options
context:
space:
mode:
authorTomas Hlavaty <tom@logand.com>2016-11-30 07:55:32 +0100
committerMichael Raskin <7c6f434c@mail.ru>2016-12-04 14:26:30 +0100
commit194a2ae86aaac2840bd349448ef5858ce868cddc (patch)
tree2f047477e545fcd0c92afd44aef8807755f482da /pkgs/development/compilers/sbcl
parent13f82b04456ae56e0069c313c112aa7e7ce00677 (diff)
downloadnixlib-194a2ae86aaac2840bd349448ef5858ce868cddc.tar
nixlib-194a2ae86aaac2840bd349448ef5858ce868cddc.tar.gz
nixlib-194a2ae86aaac2840bd349448ef5858ce868cddc.tar.bz2
nixlib-194a2ae86aaac2840bd349448ef5858ce868cddc.tar.lz
nixlib-194a2ae86aaac2840bd349448ef5858ce868cddc.tar.xz
nixlib-194a2ae86aaac2840bd349448ef5858ce868cddc.tar.zst
nixlib-194a2ae86aaac2840bd349448ef5858ce868cddc.zip
sbcl: fix disabling threadSupport
Diffstat (limited to 'pkgs/development/compilers/sbcl')
-rw-r--r--pkgs/development/compilers/sbcl/default.nix2
1 files changed, 1 insertions, 1 deletions
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