Skip to content

Commit

Permalink
Merge pull request #270814 from emilytrau/readline63-clang
Browse files Browse the repository at this point in the history
readline63: fix clang build
  • Loading branch information
emilytrau authored Nov 29, 2023
2 parents 359079a + d6d41d4 commit eb9abdb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/development/libraries/readline/6.3.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ stdenv.mkDerivation {
in
import ./readline-6.3-patches.nix patch);

env = lib.optionalAttrs stdenv.cc.isClang {
NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
};

meta = with lib; {
description = "Library for interactive line editing";

Expand Down

0 comments on commit eb9abdb

Please sign in to comment.