Skip to content

Commit

Permalink
tzdata: avoid symlink loop "./posix" -> ".."
Browse files Browse the repository at this point in the history
Fixes #31560
  • Loading branch information
orivej committed Nov 23, 2017
1 parent a7e1bfe commit 9d2bd32
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/data/misc/tzdata/default.nix
Expand Up @@ -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"
Expand Down

0 comments on commit 9d2bd32

Please sign in to comment.