diff options
Diffstat (limited to 'pkgs/applications/editors/vim/macvim.nix')
-rw-r--r-- | pkgs/applications/editors/vim/macvim.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/editors/vim/macvim.nix b/pkgs/applications/editors/vim/macvim.nix index 6f43a2f9a897e..a688170b8ad44 100644 --- a/pkgs/applications/editors/vim/macvim.nix +++ b/pkgs/applications/editors/vim/macvim.nix @@ -1,5 +1,6 @@ { stdenv, fetchFromGitHub, ncurses, gettext , pkgconfig, cscope, python, ruby, tcl, perl, luajit +, darwin }: stdenv.mkDerivation rec { @@ -72,6 +73,10 @@ stdenv.mkDerivation rec { ) ''; + postConfigure = '' + substituteInPlace src/auto/config.mk --replace "PERL_CFLAGS =" "PERL_CFLAGS = -I${darwin.libutil}/include" + ''; + postInstall = '' mkdir -p $out/Applications cp -r src/MacVim/build/Release/MacVim.app $out/Applications |