forked from mirrors/nixpkgs
tzdata: use symlinks instead of hardlinks
Hard links are not handled by nar, so installing from binary cache unnecessarily duplicates data. Also, it's more common to use symlinks for the tzdata package in other distributions.
This commit is contained in:
parent
dc224baba1
commit
1f2228cdc1
|
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||||
sourceRoot = ".";
|
sourceRoot = ".";
|
||||||
outputs = [ "out" "lib" ];
|
outputs = [ "out" "lib" ];
|
||||||
|
|
||||||
makeFlags = "TOPDIR=$(out) TZDIR=$(out)/share/zoneinfo ETCDIR=$(TMPDIR)/etc LIBDIR=$(lib)/lib MANDIR=$(TMPDIR)/man AWK=awk";
|
makeFlags = "TOPDIR=$(out) TZDIR=$(out)/share/zoneinfo ETCDIR=$(TMPDIR)/etc LIBDIR=$(lib)/lib MANDIR=$(TMPDIR)/man AWK=awk CFLAGS=-DHAVE_LINK=0";
|
||||||
|
|
||||||
postInstall =
|
postInstall =
|
||||||
''
|
''
|
||||||
|
|
Loading…
Reference in a new issue