readline63: fix clang build

This commit is contained in:
Emily Trau 2023-11-29 14:11:46 +11:00
parent 10ee18ca92
commit d6d41d403c

View File

@ -34,6 +34,10 @@ stdenv.mkDerivation {
in in
import ./readline-6.3-patches.nix patch); import ./readline-6.3-patches.nix patch);
env = lib.optionalAttrs stdenv.cc.isClang {
NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
};
meta = with lib; { meta = with lib; {
description = "Library for interactive line editing"; description = "Library for interactive line editing";