l vim: correct order for vim wrapper
This commit is contained in:
parent
d41df8e832
commit
3addbef06b
@ -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
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user