rlwrap: fix build on darwin

This commit is contained in:
Mario Rodas 2023-11-17 04:20:00 +00:00
parent 255ff0f5e9
commit d8f8da9711

View file

@ -20,6 +20,8 @@ stdenv.mkDerivation rec {
buildInputs = [ readline ]; buildInputs = [ readline ];
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-Wno-error=implicit-function-declaration";
meta = with lib; { meta = with lib; {
description = "Readline wrapper for console programs"; description = "Readline wrapper for console programs";
homepage = "https://github.com/hanslub42/rlwrap"; homepage = "https://github.com/hanslub42/rlwrap";