summaryrefslogtreecommitdiffstats
path: root/lass
diff options
context:
space:
mode:
authorlassulus <lass@lassul.us>2017-03-07 22:57:02 +0100
committerlassulus <lass@lassul.us>2017-03-07 22:57:02 +0100
commit6a9ff979548fdc28193569b0e514353838c87896 (patch)
treefccccb2b5cef8a1217b20093ef55f73dbd9f1793 /lass
parent8e490fa31dfb7c1401ab486784cf99bfe4f01b7d (diff)
l 2 vim: use concat
Diffstat (limited to 'lass')
-rw-r--r--lass/2configs/vim.nix13
1 files changed, 8 insertions, 5 deletions
diff --git a/lass/2configs/vim.nix b/lass/2configs/vim.nix
index 4e0af0dc7..e6cf8d101 100644
--- a/lass/2configs/vim.nix
+++ b/lass/2configs/vim.nix
@@ -207,11 +207,14 @@ let
alldirs = attrValues dirs ++ map dirOf (attrValues files);
in unique (sort lessThan alldirs);
- vim = pkgs.writeDashBin "vim" ''
- set -efu
- (umask 0077; exec ${pkgs.coreutils}/bin/mkdir -p ${toString mkdirs})
- exec ${pkgs.vim}/bin/vim "$@"
- '';
+ 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 "$@"
+ '')
+ ];
hs.vim = pkgs.writeText "hs.vim" ''
syn region String start=+\[[[:alnum:]]*|+ end=+|]+