Merge pull request #265124 from onemoresuza/hare-tzdata

tzdata: copy leap-seconds.list to $out/share/zoneinfo
This commit is contained in:
Pierre Bourdon 2023-11-26 15:14:18 +01:00 committed by GitHub
commit 4cbaf96a93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
];
outputs = [ "out" "bin" "man" "dev" ];
propagatedBuildOutputs = [];
propagatedBuildOutputs = [ ];
makeFlags = [
"TOPDIR=$(out)"
@ -59,6 +59,8 @@ stdenv.mkDerivation rec {
( cd $out/share/zoneinfo/posix; ln -s ../* .; rm posix )
mv $out/share/zoneinfo-leaps $out/share/zoneinfo/right
cp leap-seconds.list $out/share/zoneinfo
mkdir -p "$dev/include"
cp tzfile.h "$dev/include/tzfile.h"
'';