diff --git a/pkgs/applications/editors/vim/wrapper.nix b/pkgs/applications/editors/vim/wrapper.nix deleted file mode 100644 index 72e86805053..00000000000 --- a/pkgs/applications/editors/vim/wrapper.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ stdenv, makeWrapper, writeText, vim, vimrc }: - -let - - vimrcfile = writeText "vimrc" vimrc; - - p = builtins.parseDrvName vim.name; - -in stdenv.mkDerivation rec { - name = "${p.name}-with-vimrc-${p.version}"; - - buildInputs = [ makeWrapper vim vimrcfile ]; - - phases = [ "installPhase" ]; - - installPhase = '' - mkdir -p $out - cp -r ${vim}/* $out/ - - chmod u+w $out/bin - chmod u+w $out/share/vim - - ln -s ${vimrcfile} $out/share/vim/vimrc - wrapProgram $out/bin/vim --set VIM "$out/share/vim" - ''; - - meta = with stdenv.lib; { - description = "The most popular clone of the VI editor"; - homepage = http://www.vim.org; - platforms = platforms.unix; - }; -} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e9c907de9d5..4f303f2004f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9830,12 +9830,8 @@ let macvim = callPackage ../applications/editors/vim/macvim.nix { }; - vimWrapper = wrapVim vim; - vimHugeX = vim_configurable; - vimHugeXWrapper = wrapVim vimHugeX; - vim_configurable = callPackage ../applications/editors/vim/configurable.nix { inherit (pkgs) fetchurl fetchhg stdenv ncurses pkgconfig gettext composableDerivation lib config glib gtk python perl tcl ruby; @@ -9868,11 +9864,6 @@ let 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 { gtkvnc = gtkvnc.override { enableGTK3 = true; }; spice_gtk = spice_gtk.override { enableGTK3 = true; };