vimUtils.vimGenDocHook: fix tag generation
This commit is contained in:
parent
087e816e37
commit
57131f173e
2 changed files with 5 additions and 2 deletions
|
@ -26,6 +26,9 @@ rec {
|
|||
addRtp "${rtpPath}/${path}" attrs (stdenv.mkDerivation (attrs // {
|
||||
name = namePrefix + name;
|
||||
|
||||
# dont move the doc folder since vim expects it
|
||||
forceShare= [ "man" "info" ];
|
||||
|
||||
nativeBuildInputs = attrs.nativeBuildInputs or [] ++ [ vimGenDocHook ];
|
||||
inherit unpackPhase configurePhase buildPhase addonInfo preInstall postInstall;
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ echo "Sourcing vim-gen-doc-hook"
|
|||
vimPluginGenTags() {
|
||||
echo "Executing vimPluginGenTags"
|
||||
|
||||
target="$out/@rtpPath@/$pname"
|
||||
target="$out/@rtpPath@"
|
||||
mkdir -p $out/@rtpPath@
|
||||
|
||||
# build help tags
|
||||
|
@ -16,7 +16,7 @@ vimPluginGenTags() {
|
|||
exit 1
|
||||
fi
|
||||
else
|
||||
echo "No docs available"
|
||||
echo "No docs available for $target"
|
||||
fi
|
||||
|
||||
if [ -n "$addonInfo" ]; then
|
||||
|
|
Loading…
Reference in a new issue