polkit: fix building with clang (#376893)

This commit is contained in:
Tristan Ross
2025-02-04 18:07:47 -08:00
committed by GitHub
+1 -1
View File
@@ -141,7 +141,7 @@ stdenv.mkDerivation rec {
# location using DESTDIR and then move it to proper one in postInstall.
DESTDIR = "dest";
}
// lib.optionalAttrs stdenv.cc.isGNU {
// lib.optionalAttrs (stdenv.cc.isGNU || stdenv.cc.isClang) {
NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
};