macvim: fix build
This commit is contained in:
parent
c083ef0c6d
commit
ec1c8071b1
@ -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
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user