diff options
author | Zhong Jianxin <azuwis@gmail.com> | 2023-11-29 19:15:37 +0800 |
---|---|---|
committer | Zhong Jianxin <azuwis@gmail.com> | 2023-11-29 19:15:37 +0800 |
commit | fe3d7f9ed76e5dce4baee87f047d6307af610ee5 (patch) | |
tree | efcbaf0a441a8e9bdf555eab654025b38620fe8a /pkgs/shells | |
parent | 3f21a22b5aafefa1845dec6f4a378a8f53d8681c (diff) |
zsh-fzf-tab: fix build with clang 16
Diffstat (limited to 'pkgs/shells')
-rw-r--r-- | pkgs/shells/zsh/zsh-fzf-tab/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/shells/zsh/zsh-fzf-tab/default.nix b/pkgs/shells/zsh/zsh-fzf-tab/default.nix index d84dc22335629..ac611c4a6b06b 100644 --- a/pkgs/shells/zsh/zsh-fzf-tab/default.nix +++ b/pkgs/shells/zsh/zsh-fzf-tab/default.nix @@ -16,6 +16,14 @@ in stdenv.mkDerivation rec { strictDeps = true; buildInputs = [ ncurses ]; + # https://github.com/Aloxaf/fzf-tab/issues/337 + env = lib.optionalAttrs stdenv.cc.isClang { + NIX_CFLAGS_COMPILE = toString [ + "-Wno-error=implicit-function-declaration" + "-Wno-error=implicit-int" + ]; + }; + postConfigure = '' pushd modules ./configure --disable-gdbm --without-tcsetpgrp |