summaryrefslogtreecommitdiffstats
path: root/tv/2configs
diff options
context:
space:
mode:
authorMarkus Hihn <markus.hihn@dcso.de>2018-01-17 17:29:29 +0100
committerMarkus Hihn <markus.hihn@dcso.de>2018-01-17 17:29:29 +0100
commitbdd7a76f4d9128bf79ccd1d18ad14dcd70bbe278 (patch)
treea79ea0c78b93b043c1cc35442ef7fa2135709b84 /tv/2configs
parent1062100c78b2710493869b41bdb80c91b0bf024f (diff)
parent661eae8fc80b94f727f4178dca67b990c6ddc984 (diff)
Merge branch 'master' of prism.r:stockholm
Diffstat (limited to 'tv/2configs')
-rw-r--r--tv/2configs/vim.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/tv/2configs/vim.nix b/tv/2configs/vim.nix
index 59619f9b5..6598393a2 100644
--- a/tv/2configs/vim.nix
+++ b/tv/2configs/vim.nix
@@ -297,7 +297,7 @@ let {
viminfo = "$HOME/.cache/vim/info";
};
- mkdirs = let
+ need-dirs = let
dirOf = s: let out = concatStringsSep "/" (init (splitString "/" s));
in assert out != ""; out;
alldirs = attrValues dirs ++ map dirOf (attrValues files);
@@ -308,7 +308,7 @@ let {
paths = [
(pkgs.writeDashBin "vim" ''
set -efu
- (umask 0077; exec ${pkgs.coreutils}/bin/mkdir -p ${toString mkdirs})
+ (umask 0077; exec ${pkgs.coreutils}/bin/mkdir -p ${toString need-dirs})
exec ${pkgs.vim}/bin/vim "$@"
'')
pkgs.vim