about summary refs log tree commit diff
path: root/pkgs/development/interpreters/tcl
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2018-12-11 22:48:45 +0000
committerJörg Thalheim <joerg@thalheim.io>2018-12-12 00:58:30 +0000
commit42070c9b0d9e700b0eaf2c49e52955af88155b17 (patch)
treed54d6dd2935061f18a5f649a6d6dc22ea7480666 /pkgs/development/interpreters/tcl
parent9637f4d58dd17847203d983954f0b23d9a88f0f9 (diff)
downloadnixlib-42070c9b0d9e700b0eaf2c49e52955af88155b17.tar
nixlib-42070c9b0d9e700b0eaf2c49e52955af88155b17.tar.gz
nixlib-42070c9b0d9e700b0eaf2c49e52955af88155b17.tar.bz2
nixlib-42070c9b0d9e700b0eaf2c49e52955af88155b17.tar.lz
nixlib-42070c9b0d9e700b0eaf2c49e52955af88155b17.tar.xz
nixlib-42070c9b0d9e700b0eaf2c49e52955af88155b17.tar.zst
nixlib-42070c9b0d9e700b0eaf2c49e52955af88155b17.zip
tcl: enable threads and 64-bit support
64-bit support is only enabled on 64-bit systems
Diffstat (limited to 'pkgs/development/interpreters/tcl')
-rw-r--r--pkgs/development/interpreters/tcl/generic.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/tcl/generic.nix b/pkgs/development/interpreters/tcl/generic.nix
index e1925821e5af..011b3a125ef2 100644
--- a/pkgs/development/interpreters/tcl/generic.nix
+++ b/pkgs/development/interpreters/tcl/generic.nix
@@ -19,13 +19,14 @@ stdenv.mkDerivation rec {
   '';
 
   configureFlags = [
+    "--enable-threads"
     # Note: using $out instead of $man to prevent a runtime dependency on $man.
     "--mandir=${placeholder "out"}/share/man"
     "--enable-man-symlinks"
     # Don't install tzdata because NixOS already has a more up-to-date copy.
     "--with-tzdata=no"
     "tcl_cv_strtod_unbroken=ok"
-  ];
+  ] ++ stdenv.lib.optional stdenv.is64bit "--enable-64bit";
 
   enableParallelBuilding = true;