tzdata: fixup after merging master

also rename lib output to dev - it contains a header and a static lib.
This commit is contained in:
Vladimír Čunát 2016-04-02 16:24:12 +02:00
parent ab15a62c68
commit 056b5a1a5f
2 changed files with 8 additions and 6 deletions

View File

@ -16,14 +16,16 @@ stdenv.mkDerivation rec {
];
sourceRoot = ".";
outputs = [ "out" "lib" ];
outputs = [ "out" "man" "dev" ];
propagatedBuildOutputs = [];
makeFlags = [
"TOPDIR=$(out)"
"TZDIR=$(out)/share/zoneinfo"
"ETCDIR=$(TMPDIR)/etc"
"LIBDIR=$(lib)/lib"
"MANDIR=$(TMPDIR)/man"
"LIBDIR=$(dev)/lib"
"MANDIR=$(man)/man"
"AWK=awk"
"CFLAGS=-DHAVE_LINK=0"
];
@ -34,8 +36,8 @@ stdenv.mkDerivation rec {
ln -s . $out/share/zoneinfo/posix
mv $out/share/zoneinfo-leaps $out/share/zoneinfo/right
mkdir -p "$lib/include"
cp tzfile.h "$lib/include/tzfile.h"
mkdir -p "$dev/include"
cp tzfile.h "$dev/include/tzfile.h"
'';
meta = {

View File

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
};
configureFlags = [ "--with-uuid=${libuuid}" ];
buildInputs = [ icu tzdata.lib ];
buildInputs = [ icu tzdata.dev ];
enableParallelBuilding = true;
meta = {