diff options
author | Charles Strahan <charles.c.strahan@gmail.com> | 2016-05-06 20:50:52 -0400 |
---|---|---|
committer | Charles Strahan <charles.c.strahan@gmail.com> | 2016-05-06 22:32:23 -0400 |
commit | ec1c8071b1a44c623aa83a3edcaf71562957290b (patch) | |
tree | 1bdd5cdec6f43303200e3c8e1d081ccab25ffb0b /pkgs/applications/editors/vim | |
parent | c083ef0c6d67bb419a4c8949ab18c5823b3881b6 (diff) |
macvim: fix build
Diffstat (limited to 'pkgs/applications/editors/vim')
-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 |