Commit 27a9dd92 authored by superherointj's avatar superherointj
Browse files

pkgsMusl.nginx: fix build

Fixes:

> error: #warning usage of non-standard #include <sys/cdefs.h> is deprecated [-Werror=cpp]
parent f98fa31f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -130,6 +130,9 @@ stdenv.mkDerivation {
    "-Wno-error=deprecated-declarations"
    "-Wno-error=gnu-folding-constant"
    "-Wno-error=unused-but-set-variable"
  ] ++ lib.optionals stdenv.hostPlatform.isMusl [
    # fix sys/cdefs.h is deprecated
    "-Wno-error=cpp"
  ]);

  configurePlatforms = [];