tzdata: avoid symlink loop "./posix" -> ".."

Fixes #31560
This commit is contained in:
Orivej Desh 2017-11-22 09:04:41 +00:00
parent a7e1bfe792
commit 9d2bd32b79

View File

@ -33,7 +33,8 @@ stdenv.mkDerivation rec {
postInstall =
''
rm $out/share/zoneinfo-posix
ln -s . $out/share/zoneinfo/posix
mkdir $out/share/zoneinfo/posix
( cd $out/share/zoneinfo/posix; ln -s ../* .; rm posix )
mv $out/share/zoneinfo-leaps $out/share/zoneinfo/right
mkdir -p "$dev/include"