diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2018-12-11 22:45:07 +0000 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2018-12-12 00:58:30 +0000 |
commit | 9637f4d58dd17847203d983954f0b23d9a88f0f9 (patch) | |
tree | 78f566dbe30d9de00399b652478cd40988e95933 /pkgs/development | |
parent | 6b92dd38e1950b6f3ba85fb2d65292706c831e99 (diff) |
tcl: fix cross-build
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/interpreters/tcl/generic.nix | 15 |
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 = '' |