l vim: correct order for vim wrapper

This commit is contained in:
lassulus 2017-08-07 14:59:04 +02:00
parent d41df8e832
commit 3addbef06b

View File

@ -210,12 +210,12 @@ let
vim = pkgs.symlinkJoin { vim = pkgs.symlinkJoin {
name = "vim"; name = "vim";
paths = [ paths = [
pkgs.vim
(pkgs.writeDashBin "vim" '' (pkgs.writeDashBin "vim" ''
set -efu set -efu
(umask 0077; exec ${pkgs.coreutils}/bin/mkdir -p ${toString mkdirs}) (umask 0077; exec ${pkgs.coreutils}/bin/mkdir -p ${toString mkdirs})
exec ${pkgs.vim}/bin/vim "$@" exec ${pkgs.vim}/bin/vim "$@"
'') '')
pkgs.vim
]; ];
}; };