always build against tzdata

This commit is contained in:
Ding Xiang Fei 2018-07-30 11:54:57 +08:00
parent 56aa3b488c
commit e8682cafd6
1 changed files with 2 additions and 2 deletions

View File

@ -30,10 +30,10 @@ let
"--with-libxml" "--with-libxml"
"--sysconfdir=/etc" "--sysconfdir=/etc"
"--libdir=$(lib)/lib" "--libdir=$(lib)/lib"
"--with-system-tzdata=${tzdata}"
] ]
++ lib.optional stdenv.isDarwin "--with-uuid=e2fs" ++ lib.optional stdenv.isDarwin "--with-uuid=e2fs"
++ lib.optional (!stdenv.isDarwin) "--with-ossp-uuid" ++ lib.optional (!stdenv.isDarwin) "--with-ossp-uuid";
++ lib.optional stdenv.isCross "--with-system-tzdata=${tzdata}";
patches = patches =
[ (if atLeast "9.4" then ./disable-resolve_symlinks-94.patch else ./disable-resolve_symlinks.patch) [ (if atLeast "9.4" then ./disable-resolve_symlinks-94.patch else ./disable-resolve_symlinks.patch)