about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/iqueue
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/iqueue')
-rw-r--r--nixpkgs/pkgs/development/libraries/iqueue/default.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/development/libraries/iqueue/default.nix b/nixpkgs/pkgs/development/libraries/iqueue/default.nix
index 04fd7202d1d1..7f5d5c4c069c 100644
--- a/nixpkgs/pkgs/development/libraries/iqueue/default.nix
+++ b/nixpkgs/pkgs/development/libraries/iqueue/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchurl, pkg-config, libbsd, microsoft_gsl }:
+{ lib, stdenv, fetchurl, pkg-config, libbsd, microsoft-gsl }:
 
 stdenv.mkDerivation rec {
   pname = "iqueue";
@@ -10,7 +10,13 @@ stdenv.mkDerivation rec {
 
   doCheck = true;
   nativeBuildInputs = [ pkg-config ];
-  buildInputs = [ libbsd microsoft_gsl ];
+  buildInputs = [ libbsd microsoft-gsl ];
+
+  env.NIX_CFLAGS_COMPILE = toString [
+    # Needed with GCC 12
+    "-Wno-error=array-parameter"
+    "-Wno-error=misleading-indentation"
+  ];
 
   meta = with lib; {
     homepage = "https://github.com/twosigma/iqueue";