diff options
author | Emily Trau <emily@downunderctf.com> | 2023-11-21 10:14:48 +1100 |
---|---|---|
committer | Emily Trau <emily@downunderctf.com> | 2023-11-21 10:14:48 +1100 |
commit | a91d4613a64c84819c0f533383adf4a938958d52 (patch) | |
tree | d11bb862eb506723d9a1eb2ca31508a96ba45dda /pkgs/tools/misc/lrzsz | |
parent | fc40f074472fe613062481796acd5fd3b557b9ba (diff) |
lrzsz: fix clang -Werror on darwin
Regression from darwin stdenv bump (#234710)
Diffstat (limited to 'pkgs/tools/misc/lrzsz')
-rw-r--r-- | pkgs/tools/misc/lrzsz/default.nix | 2 |
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"; |