diff options
author | tv <tv@krebsco.de> | 2017-06-20 19:30:14 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2017-06-20 19:30:14 +0200 |
commit | a9f4ad7586bfb543cdcdeacf93b71bdce506621a (patch) | |
tree | be74bac26ea69ba9a7a6519ef12db86d1a953927 /lass/2configs/vim.nix | |
parent | 57c6b890f9088bb333eeab215ecfeca9d09ce3ef (diff) |
concat: RIP
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=+|]+ |