mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
tcl: fix cross-build
This commit is contained in:
parent
6b92dd38e1
commit
9637f4d58d
1 changed files with 9 additions and 6 deletions
|
@ -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 a new issue