tcl: fix cross-build

This commit is contained in:
Jörg Thalheim 2018-12-11 22:45:07 +00:00
parent 6b92dd38e1
commit 9637f4d58d
No known key found for this signature in database
GPG key ID: CA4106B8D7CC79FA

View file

@ -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 = ''