···26 addRtp "${rtpPath}/${path}" attrs (stdenv.mkDerivation (attrs // {
27 name = namePrefix + name;
2829+ # dont move the doc folder since vim expects it
30+ forceShare= [ "man" "info" ];
31+32 nativeBuildInputs = attrs.nativeBuildInputs or [] ++ [ vimGenDocHook ];
33 inherit unpackPhase configurePhase buildPhase addonInfo preInstall postInstall;
34
+2-2
pkgs/misc/vim-plugins/vim-gen-doc-hook.sh
···5vimPluginGenTags() {
6 echo "Executing vimPluginGenTags"
78- target="$out/@rtpPath@/$pname"
9 mkdir -p $out/@rtpPath@
1011 # build help tags
···16 exit 1
17 fi
18 else
19- echo "No docs available"
20 fi
2122 if [ -n "$addonInfo" ]; then
···5vimPluginGenTags() {
6 echo "Executing vimPluginGenTags"
78+ target="$out/@rtpPath@"
9 mkdir -p $out/@rtpPath@
1011 # build help tags
···16 exit 1
17 fi
18 else
19+ echo "No docs available for $target"
20 fi
2122 if [ -n "$addonInfo" ]; then