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:45:07 +0000
committerJörg Thalheim <joerg@thalheim.io>2018-12-12 00:58:30 +0000
commit9637f4d58dd17847203d983954f0b23d9a88f0f9 (patch)
tree78f566dbe30d9de00399b652478cd40988e95933 /pkgs/development/interpreters/tcl
parent6b92dd38e1950b6f3ba85fb2d65292706c831e99 (diff)
downloadnixlib-9637f4d58dd17847203d983954f0b23d9a88f0f9.tar
nixlib-9637f4d58dd17847203d983954f0b23d9a88f0f9.tar.gz
nixlib-9637f4d58dd17847203d983954f0b23d9a88f0f9.tar.bz2
nixlib-9637f4d58dd17847203d983954f0b23d9a88f0f9.tar.lz
nixlib-9637f4d58dd17847203d983954f0b23d9a88f0f9.tar.xz
nixlib-9637f4d58dd17847203d983954f0b23d9a88f0f9.tar.zst
nixlib-9637f4d58dd17847203d983954f0b23d9a88f0f9.zip
tcl: fix cross-build
Diffstat (limited to 'pkgs/development/interpreters/tcl')
-rw-r--r--pkgs/development/interpreters/tcl/generic.nix15
1 files changed, 9 insertions, 6 deletions
diff --git a/pkgs/development/interpreters/tcl/generic.nix b/pkgs/development/interpreters/tcl/generic.nix
index a472ccaafbf2..e1925821e5af 100644
--- a/pkgs/development/interpreters/tcl/generic.nix
+++ b/pkgs/development/interpreters/tcl/generic.nix
@@ -15,15 +15,18 @@ stdenv.mkDerivation rec {
   setOutputFlags = false;
 
   preConfigure = ''
-    # Note: using $out instead of $man to prevent a runtime dependency on $man.
-    configureFlagsArray+=(--mandir=$out/share/man --enable-man-symlinks)
-
-    # Don't install tzdata because NixOS already has a more up-to-date copy.
-    configureFlagsArray+=(--with-tzdata=no)
-
     cd unix
   '';
 
+  configureFlags = [
+    # 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"
+  ];
+
   enableParallelBuilding = true;
 
   postInstall = ''