about summary refs log tree commit diff
path: root/pkgs/shells
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-11-30 06:13:45 +0100
committerGitHub <noreply@github.com>2023-11-30 06:13:45 +0100
commit5368609139a22631434dc56aa2f8e4997caa59a5 (patch)
treee83d748e208e52257bf8e2ecf8f72bb037dbd008 /pkgs/shells
parentdb77de49336382a33b9490a88ba3fe483e2b605f (diff)
parentfe3d7f9ed76e5dce4baee87f047d6307af610ee5 (diff)
Merge pull request #271088 from azuwis/zsh-fzf-tab
zsh-fzf-tab: fix build with clang 16
Diffstat (limited to 'pkgs/shells')
-rw-r--r--pkgs/shells/zsh/zsh-fzf-tab/default.nix8
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