about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/cpp-ipfs-http-client
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/cpp-ipfs-http-client')
-rw-r--r--nixpkgs/pkgs/development/libraries/cpp-ipfs-http-client/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/development/libraries/cpp-ipfs-http-client/default.nix b/nixpkgs/pkgs/development/libraries/cpp-ipfs-http-client/default.nix
index 44fcbe5463cb..d44eed5e76f0 100644
--- a/nixpkgs/pkgs/development/libraries/cpp-ipfs-http-client/default.nix
+++ b/nixpkgs/pkgs/development/libraries/cpp-ipfs-http-client/default.nix
@@ -22,8 +22,10 @@ stdenv.mkDerivation {
   buildInputs = [ curl ];
   propagatedBuildInputs = [ nlohmann_json ];
 
-  NIX_CFLAGS_COMPILE = [
+  env.NIX_CFLAGS_COMPILE = toString [
     "-Wno-error=range-loop-construct"
+    # Needed with GCC 12
+    "-Wno-error=deprecated-declarations"
   ];
 
   meta = with lib; {