zsh-fzf-tab: fix build with clang 16

This commit is contained in:
Zhong Jianxin 2023-11-29 19:15:37 +08:00
parent 3f21a22b5a
commit fe3d7f9ed7

View File

@ -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