mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 22:47:49 +00:00
cpp-ipfs-api: add -Wno-error
flag to fix build on gcc11
This commit is contained in:
parent
8a9d5e296b
commit
e7fd0ebfa9
@ -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 New Issue
Block a user