Merge pull request #172658 from tjni/fix-zsh-fzf-tab-darwin

zsh-fzf-tab: fix Darwin build

authored by Bobby Rong and committed by GitHub 17ad9854 f49bce4b

-13
-11
pkgs/shells/zsh/zsh-fzf-tab/darwin.patch
··· 1 - diff --git a/modules/Src/aloxaf/fzftab.c b/modules/Src/aloxaf/fzftab.c 2 - index 60b6330..91975d8 100644 3 - --- a/modules/Src/aloxaf/fzftab.c 4 - +++ b/modules/Src/aloxaf/fzftab.c 5 - @@ -1,6 +1,5 @@ 6 - #include "fzftab.mdh" 7 - #include "fzftab.pro" 8 - -#include <malloc.h> 9 - #include <stdarg.h> 10 - #include <stdlib.h> 11 - #include <sys/stat.h>
-2
pkgs/shells/zsh/zsh-fzf-tab/default.nix
··· 15 15 16 16 buildInputs = [ ncurses ]; 17 17 18 - patches = lib.optionals stdenv.isDarwin [ ./darwin.patch ]; 19 - 20 18 postConfigure = '' 21 19 pushd modules 22 20 ./configure --disable-gdbm --without-tcsetpgrp