mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
Merge branch 'u/vimrc' of git://github.com/wizeman/nixpkgs
vimHugeX: also add wrapper for system-wide vimrc
This commit is contained in:
commit
a1fff61e4d
@ -2,10 +2,12 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
vimrcfile = writeText "vimrc" (if vimrc == null then "" else vimrc);
|
vimrcfile = writeText "vimrc" vimrc;
|
||||||
|
|
||||||
|
p = builtins.parseDrvName vim.name;
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "vimwrapper-${vim.version}";
|
name = "${p.name}-with-vimrc-${p.version}";
|
||||||
|
|
||||||
buildInputs = [ makeWrapper vim vimrcfile ];
|
buildInputs = [ makeWrapper vim vimrcfile ];
|
||||||
|
|
||||||
|
@ -9130,13 +9130,12 @@ let
|
|||||||
else stdenv;
|
else stdenv;
|
||||||
};
|
};
|
||||||
|
|
||||||
vimwrapper = callPackage ../applications/editors/vim/wrapper.nix {
|
vimWrapper = wrapVim vim;
|
||||||
inherit vim;
|
|
||||||
vimrc = config.vim.vimrc or null;
|
|
||||||
};
|
|
||||||
|
|
||||||
vimHugeX = vim_configurable;
|
vimHugeX = vim_configurable;
|
||||||
|
|
||||||
|
vimHugeXWrapper = wrapVim vimHugeX;
|
||||||
|
|
||||||
vim_configurable = callPackage ../applications/editors/vim/configurable.nix {
|
vim_configurable = callPackage ../applications/editors/vim/configurable.nix {
|
||||||
inherit (pkgs) fetchurl fetchhg stdenv ncurses pkgconfig gettext
|
inherit (pkgs) fetchurl fetchhg stdenv ncurses pkgconfig gettext
|
||||||
composableDerivation lib config glib gtk python perl tcl ruby;
|
composableDerivation lib config glib gtk python perl tcl ruby;
|
||||||
@ -9169,6 +9168,11 @@ let
|
|||||||
flags = [ "python" "X11" ]; # only flag "X11" by now
|
flags = [ "python" "X11" ]; # only flag "X11" by now
|
||||||
});
|
});
|
||||||
|
|
||||||
|
wrapVim = vim: import ../applications/editors/vim/wrapper.nix {
|
||||||
|
inherit stdenv makeWrapper writeText vim;
|
||||||
|
vimrc = config.vim.vimrc or "";
|
||||||
|
};
|
||||||
|
|
||||||
virtviewer = callPackage ../applications/virtualization/virt-viewer {};
|
virtviewer = callPackage ../applications/virtualization/virt-viewer {};
|
||||||
virtmanager = callPackage ../applications/virtualization/virt-manager {
|
virtmanager = callPackage ../applications/virtualization/virt-manager {
|
||||||
inherit (gnome) gnome_python;
|
inherit (gnome) gnome_python;
|
||||||
|
Loading…
Reference in New Issue
Block a user