arrow-cpp: fix sandboxed build on darwin

This commit is contained in:
Dmitry Kalinkin 2021-11-21 15:07:37 -05:00
parent 92c45083e5
commit c5a0962ddd
No known key found for this signature in database
GPG key ID: 5157B3EC8B2CA333

View file

@ -140,7 +140,7 @@ stdenv.mkDerivation rec {
preConfigure = ''
patchShebangs build-support/
substituteInPlace "src/arrow/vendored/datetime/tz.cpp" \
--replace "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo"
--replace 'discover_tz_dir();' '"${tzdata}/share/zoneinfo";'
'';
cmakeFlags = [