cpp-ipfs-api: add -Wno-error flag to fix build on gcc11

This commit is contained in:
Fabián Heredia Montiel 2022-04-15 11:16:26 -05:00
parent 8a9d5e296b
commit e7fd0ebfa9

View file

@ -15,6 +15,10 @@ stdenv.mkDerivation {
buildInputs = [ curl ];
propagatedBuildInputs = [ nlohmann_json ];
NIX_CFLAGS_COMPILE = [
"-Wno-error=range-loop-construct"
];
meta = with lib; {
description = "IPFS C++ API client library";
homepage = "https://github.com/vasild/cpp-ipfs-api";