Merge pull request #172677 from wahjava/fix-zbackup

zbackup: Fix build error
This commit is contained in:
Sandro 2022-05-12 15:06:09 +02:00 committed by GitHub
commit 6c263fc2e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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