macvim: fix build

This commit is contained in:
Charles Strahan 2016-05-06 20:50:52 -04:00
parent c083ef0c6d
commit ec1c8071b1
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -14263,7 +14263,7 @@ in
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa;
};
macvim = callPackage ../applications/editors/vim/macvim.nix { stdenv = clangStdenv; };
macvim = callPackage ../applications/editors/vim/macvim.nix { stdenv = clangStdenv; ruby = ruby_2_2; };
vimHugeX = vim_configurable;