cpp-ipfs-api: add -Wno-error
flag to fix build on gcc11
This commit is contained in:
parent
8a9d5e296b
commit
e7fd0ebfa9
1 changed files with 4 additions and 0 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue