commit e46bc3e4b2cdb53737daafeeec71646e0f611611 parent 1c54e14ca0a773aaf68b8609f97cac7dfad8d009 Author: Nikolay Korotkiy <sikmir@disroot.org> Date: Sun, 28 Jan 2024 20:00:33 +0400 Up Diffstat:
M | pkgs/misc/pvs-studio/how-to-use-pvs-studio-free.nix | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkgs/misc/pvs-studio/how-to-use-pvs-studio-free.nix b/pkgs/misc/pvs-studio/how-to-use-pvs-studio-free.nix @@ -26,7 +26,7 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ cmake ]; - env.NIX_CFLAGS_COMPILE = "-Wno-error=unqualified-std-cast-call"; + env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-Wno-error=unqualified-std-cast-call"; meta = with lib; { description = "How to use PVS-Studio for Free?";