Skip to content

Commit

Permalink
tzdata: Revert to the "fat" "bloated" format
Browse files Browse the repository at this point in the history
The timezone dumps have switched to a "slim" format since 2020b.
This has broken various packages, including
 - go 1.4 (used for bootstrapping)
 - haskellPackages.tz
 - libical

The "fat" format can still be generated, as this commit shows.
It seems to create files that are *mostly* the slim versions with
some more data attached.
  • Loading branch information
roberth authored and FRidh committed Nov 6, 2020
1 parent 99fb79a commit d328ba1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/data/misc/tzdata/default.nix
Expand Up @@ -31,6 +31,7 @@ stdenv.mkDerivation rec {
"MANDIR=$(man)/share/man"
"AWK=awk"
"CFLAGS=-DHAVE_LINK=0"
"CFLAGS+=-DZIC_BLOAT_DEFAULT=\\\"fat\\\""
"cc=${stdenv.cc.targetPrefix}cc"
"AR=${stdenv.cc.targetPrefix}ar"
];
Expand Down

0 comments on commit d328ba1

Please sign in to comment.