diff options
author | lassulus <lass@lassul.us> | 2017-06-20 19:31:19 +0200 |
---|---|---|
committer | lassulus <lass@lassul.us> | 2017-06-20 19:31:19 +0200 |
commit | 915ccf6ee26688be9daf37a6083b91be95cae024 (patch) | |
tree | 18dd85796c90fe7898a2b3a8e8c505ea672598a3 /lass/2configs/vim.nix | |
parent | fbabdb5081366e295fb10a2486fcc66e43a20ed1 (diff) | |
parent | a9f4ad7586bfb543cdcdeacf93b71bdce506621a (diff) |
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'lass/2configs/vim.nix')
-rw-r--r-- | lass/2configs/vim.nix | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/lass/2configs/vim.nix b/lass/2configs/vim.nix index 40f7eedde..b2b0c309a 100644 --- a/lass/2configs/vim.nix +++ b/lass/2configs/vim.nix @@ -207,14 +207,17 @@ let alldirs = attrValues dirs ++ map dirOf (attrValues files); in unique (sort lessThan alldirs); - vim = pkgs.concat "vim" [ - pkgs.vim - (pkgs.writeDashBin "vim" '' - set -efu - (umask 0077; exec ${pkgs.coreutils}/bin/mkdir -p ${toString mkdirs}) - exec ${pkgs.vim}/bin/vim "$@" - '') - ]; + vim = pkgs.symlinkJoin { + name = "vim"; + paths = [ + pkgs.vim + (pkgs.writeDashBin "vim" '' + set -efu + (umask 0077; exec ${pkgs.coreutils}/bin/mkdir -p ${toString mkdirs}) + exec ${pkgs.vim}/bin/vim "$@" + '') + ]; + }; hs.vim = pkgs.writeText "hs.vim" '' syn region String start=+\[[[:alnum:]]*|+ end=+|]+ |