tcl: fix cross-build
This commit is contained in:
parent
6b92dd38e1
commit
9637f4d58d
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user