summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorEmily Trau <13267947+emilytrau@users.noreply.github.com>2023-11-21 15:32:05 +1100
committerGitHub <noreply@github.com>2023-11-21 15:32:05 +1100
commit067cd413380370d8e9ae2de6a3de0a06c53d54f9 (patch)
tree4e5617befef2f935b37eca671e4b37971891d60c /pkgs/tools
parent51a01a7e5515b469886c120e38db325c96694c2f (diff)
parenta91d4613a64c84819c0f533383adf4a938958d52 (diff)
Merge pull request #268833 from emilytrau/lrzsz-darwin
lrzsz: fix clang -Werror on darwin
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/misc/lrzsz/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/misc/lrzsz/default.nix b/pkgs/tools/misc/lrzsz/default.nix
index e097ab12f082e..867e492b33e27 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";