Merge pull request #268833 from emilytrau/lrzsz-darwin

lrzsz: fix clang -Werror on darwin
This commit is contained in:
Emily Trau 2023-11-21 15:32:05 +11:00 committed by GitHub
commit 067cd41338
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,6 +25,8 @@ stdenv.mkDerivation rec {
configureFlags = [ "--program-transform-name=s/^l//" ]; 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; { meta = with lib; {
homepage = "https://ohse.de/uwe/software/lrzsz.html"; homepage = "https://ohse.de/uwe/software/lrzsz.html";
description = "Communication package providing the XMODEM, YMODEM ZMODEM file transfer protocols"; description = "Communication package providing the XMODEM, YMODEM ZMODEM file transfer protocols";