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

zsh-fzf-tab: fix Darwin build
main
Bobby Rong 2 years ago committed by GitHub
commit 17ad98545f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      pkgs/shells/zsh/zsh-fzf-tab/darwin.patch
  2. 2
      pkgs/shells/zsh/zsh-fzf-tab/default.nix

@ -1,11 +0,0 @@
diff --git a/modules/Src/aloxaf/fzftab.c b/modules/Src/aloxaf/fzftab.c
index 60b6330..91975d8 100644
--- a/modules/Src/aloxaf/fzftab.c
+++ b/modules/Src/aloxaf/fzftab.c
@@ -1,6 +1,5 @@
#include "fzftab.mdh"
#include "fzftab.pro"
-#include <malloc.h>
#include <stdarg.h>
#include <stdlib.h>
#include <sys/stat.h>

@ -15,8 +15,6 @@ in stdenv.mkDerivation rec {
buildInputs = [ ncurses ];
patches = lib.optionals stdenv.isDarwin [ ./darwin.patch ];
postConfigure = ''
pushd modules
./configure --disable-gdbm --without-tcsetpgrp

Loading…
Cancel
Save