mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
zsh-fzf-tab: fix build with clang 16
This commit is contained in:
parent
3f21a22b5a
commit
fe3d7f9ed7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user