vim: clean up arguments list
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
{ stdenv, fetchFromGitHub, ncurses, gettext, pkgconfig
|
{ stdenv, fetchFromGitHub, ncurses, gettext, pkgconfig
|
||||||
|
|
||||||
# apple frameworks
|
# apple frameworks
|
||||||
, CoreServices, CoreData, Cocoa, Foundation, libobjc, cf-private }:
|
, Carbon, Cocoa }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "vim-${version}";
|
name = "vim-${version}";
|
||||||
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
|||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
buildInputs = [ ncurses pkgconfig ]
|
buildInputs = [ ncurses pkgconfig ]
|
||||||
++ stdenv.lib.optionals stdenv.isDarwin [ cf-private CoreData CoreServices Cocoa Foundation libobjc ];
|
++ stdenv.lib.optionals stdenv.isDarwin [ Carbon Cocoa ];
|
||||||
nativeBuildInputs = [ gettext ];
|
nativeBuildInputs = [ gettext ];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ with frameworks; with libs; {
|
|||||||
Automator = [];
|
Automator = [];
|
||||||
CFNetwork = [ CF ];
|
CFNetwork = [ CF ];
|
||||||
CalendarStore = [];
|
CalendarStore = [];
|
||||||
Cocoa = [ Foundation ];
|
Cocoa = [ AppKit ];
|
||||||
Collaboration = [];
|
Collaboration = [];
|
||||||
CoreAudio = [ CF IOKit ];
|
CoreAudio = [ CF IOKit ];
|
||||||
CoreAudioKit = [ AudioUnit ];
|
CoreAudioKit = [ AudioUnit ];
|
||||||
|
|||||||
@@ -13168,8 +13168,7 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
vim = callPackage ../applications/editors/vim {
|
vim = callPackage ../applications/editors/vim {
|
||||||
inherit (darwin.apple_sdk.frameworks) CoreServices Cocoa Foundation CoreData;
|
inherit (darwin.apple_sdk.frameworks) Carbon Cocoa;
|
||||||
inherit (darwin) libobjc cf-private;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
macvim = callPackage ../applications/editors/vim/macvim.nix { stdenv = clangStdenv; };
|
macvim = callPackage ../applications/editors/vim/macvim.nix { stdenv = clangStdenv; };
|
||||||
|
|||||||
Reference in New Issue
Block a user