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
+4
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 ];