tzdata: fix for darwin sandbox
This commit is contained in:
parent
c1c6899d0a
commit
ccdaaa0788
1 changed files with 2 additions and 1 deletions
|
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
|
|||
"BINDIR=$(bin)/bin"
|
||||
"ZICDIR=$(bin)/bin"
|
||||
"ETCDIR=$(TMPDIR)/etc"
|
||||
"TZDEFAULT=$(TMPDIR)/etc"
|
||||
"TZDEFAULT=tzdefault-to-remove"
|
||||
"LIBDIR=$(dev)/lib"
|
||||
"MANDIR=$(man)/share/man"
|
||||
"AWK=awk"
|
||||
|
@ -54,6 +54,7 @@ stdenv.mkDerivation rec {
|
|||
postInstall =
|
||||
''
|
||||
rm $out/share/zoneinfo-posix
|
||||
rm $out/share/zoneinfo/tzdefault-to-remove
|
||||
mkdir $out/share/zoneinfo/posix
|
||||
( cd $out/share/zoneinfo/posix; ln -s ../* .; rm posix )
|
||||
mv $out/share/zoneinfo-leaps $out/share/zoneinfo/right
|
||||
|
|
Loading…
Reference in a new issue