zbackup: Fix build error

Upstream bug report: https://github.com/zbackup/zbackup/issues/160
This commit is contained in:
Ashish SHUKLA 2022-05-12 14:50:03 +05:30
parent 41ff747f88
commit 07aba57bca
No known key found for this signature in database
GPG Key ID: C746CFA9E74FA4B0

View File

@ -20,6 +20,10 @@ stdenv.mkDerivation rec {
./protobuf-api-change.patch
];
# zbackup uses dynamic exception specifications which are not
# allowed in C++17
NIX_CFLAGS_COMPILE = [ "--std=c++14" ];
buildInputs = [ zlib openssl protobuf lzo libunwind ];
nativeBuildInputs = [ cmake protobufc ];