1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 12:11:28 +00:00

always build against tzdata

This commit is contained in:
Ding Xiang Fei 2018-07-30 11:54:57 +08:00
parent 56aa3b488c
commit e8682cafd6

View file

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