summary refs log tree commit diff
path: root/pkgs/misc/vim-plugins/overrides.nix
diff options
context:
space:
mode:
authorMatthieu Coudron <mattator@gmail.com>2020-04-07 16:14:44 +0200
committerMatthieu Coudron <mattator@gmail.com>2020-04-13 15:04:03 +0200
commitad06ae4195dbc680c5a30f11df90cf212e7f864f (patch)
treecdbdd1aafbe0671e3067991147cd194fe7ec7bd7 /pkgs/misc/vim-plugins/overrides.nix
parent3b9ea3750aa3581647b9c917bb8ef879495e2226 (diff)
downloadnixpkgs-ad06ae4195dbc680c5a30f11df90cf212e7f864f.tar
nixpkgs-ad06ae4195dbc680c5a30f11df90cf212e7f864f.tar.gz
nixpkgs-ad06ae4195dbc680c5a30f11df90cf212e7f864f.tar.bz2
nixpkgs-ad06ae4195dbc680c5a30f11df90cf212e7f864f.tar.lz
nixpkgs-ad06ae4195dbc680c5a30f11df90cf212e7f864f.tar.xz
nixpkgs-ad06ae4195dbc680c5a30f11df90cf212e7f864f.tar.zst
nixpkgs-ad06ae4195dbc680c5a30f11df90cf212e7f864f.zip
vimPlugins.vim-dasht: init at 2019-09-29
Use with `:Dasht`.
Diffstat (limited to 'pkgs/misc/vim-plugins/overrides.nix')
-rw-r--r--pkgs/misc/vim-plugins/overrides.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/misc/vim-plugins/overrides.nix b/pkgs/misc/vim-plugins/overrides.nix
index 4ae1fd80bb3..7333b61deae 100644
--- a/pkgs/misc/vim-plugins/overrides.nix
+++ b/pkgs/misc/vim-plugins/overrides.nix
@@ -11,6 +11,7 @@
 , Cocoa, CoreFoundation, CoreServices
 , buildVimPluginFrom2Nix
 , nodePackages
+, dasht
 
 # coc-go dependency
 , go
@@ -517,6 +518,13 @@ self: super: {
     dependencies = with super; [ vim-maktaba ];
   });
 
+  vim-dasht = super.vim-dasht.overrideAttrs(old: {
+    preFixup = ''
+      substituteInPlace $out/share/vim-plugins/vim-dasht/autoload/dasht.vim \
+        --replace "['dasht']" "['${dasht}/bin/dasht']"
+    '';
+  });
+
   vim-easytags = super.vim-easytags.overrideAttrs(old: {
     dependencies = with super; [ vim-misc ];
     patches = [