From a91d4613a64c84819c0f533383adf4a938958d52 Mon Sep 17 00:00:00 2001 From: Emily Trau Date: Tue, 21 Nov 2023 10:14:48 +1100 Subject: [PATCH] lrzsz: fix clang -Werror on darwin Regression from darwin stdenv bump (#234710) --- pkgs/tools/misc/lrzsz/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/misc/lrzsz/default.nix b/pkgs/tools/misc/lrzsz/default.nix index e097ab12f082..867e492b33e2 100644 --- a/pkgs/tools/misc/lrzsz/default.nix +++ b/pkgs/tools/misc/lrzsz/default.nix @@ -25,6 +25,8 @@ stdenv.mkDerivation rec { configureFlags = [ "--program-transform-name=s/^l//" ]; + env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=implicit-function-declaration -Wno-error=implicit-int"; + meta = with lib; { homepage = "https://ohse.de/uwe/software/lrzsz.html"; description = "Communication package providing the XMODEM, YMODEM ZMODEM file transfer protocols";