cxxtools: hardcode TZDIR
This commit is contained in:
parent
6c6435606a
commit
a83d30ff4d
@ -2,6 +2,7 @@
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, tzdata
|
||||
, autoreconfHook
|
||||
, openssl
|
||||
}:
|
||||
@ -28,6 +29,11 @@ stdenv.mkDerivation rec {
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/tz.cpp \
|
||||
--replace '::getenv("TZDIR")' '"${tzdata}/share/zoneinfo"'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user