Skip to content

Commit

Permalink
tzdata: avoid symlink loop ./posix -> ..
Browse files Browse the repository at this point in the history
  • Loading branch information
orivej committed Nov 22, 2017
1 parent 35df5e0 commit e75d458
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/data/misc/tzdata/default.nix
Expand Up @@ -33,8 +33,8 @@ stdenv.mkDerivation rec {
postInstall =
''
rm $out/share/zoneinfo-posix
cp -rl $out/share/zoneinfo $out/share/posix
mv $out/share/posix $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 e75d458

Please sign in to comment.