From 45f4341f16cee78b9cf6dd292a57bb40052fd9f7 Mon Sep 17 00:00:00 2001 From: Emily Trau Date: Wed, 29 Nov 2023 14:01:05 +1100 Subject: [PATCH] rzip: fix clang build --- pkgs/tools/compression/rzip/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/compression/rzip/default.nix b/pkgs/tools/compression/rzip/default.nix index 24f59d25a91f..3d744dfa35fd 100644 --- a/pkgs/tools/compression/rzip/default.nix +++ b/pkgs/tools/compression/rzip/default.nix @@ -18,6 +18,8 @@ stdenv.mkDerivation rec { }) ]; + env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=implicit-int"; + meta = with lib; { homepage = "https://rzip.samba.org/"; description = "Compression program";