tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
vimUtils.vimGenDocHook: fix tag generation
Matthieu Coudron
4 years ago
57131f17
087e816e
+5
-2
2 changed files
expand all
collapse all
unified
split
pkgs
misc
vim-plugins
build-vim-plugin.nix
vim-gen-doc-hook.sh
+3
pkgs/misc/vim-plugins/build-vim-plugin.nix
···
26
26
addRtp "${rtpPath}/${path}" attrs (stdenv.mkDerivation (attrs // {
27
27
name = namePrefix + name;
28
28
29
29
+
# dont move the doc folder since vim expects it
30
30
+
forceShare= [ "man" "info" ];
31
31
+
29
32
nativeBuildInputs = attrs.nativeBuildInputs or [] ++ [ vimGenDocHook ];
30
33
inherit unpackPhase configurePhase buildPhase addonInfo preInstall postInstall;
31
34
+2
-2
pkgs/misc/vim-plugins/vim-gen-doc-hook.sh
···
5
5
vimPluginGenTags() {
6
6
echo "Executing vimPluginGenTags"
7
7
8
8
-
target="$out/@rtpPath@/$pname"
8
8
+
target="$out/@rtpPath@"
9
9
mkdir -p $out/@rtpPath@
10
10
11
11
# build help tags
···
16
16
exit 1
17
17
fi
18
18
else
19
19
-
echo "No docs available"
19
19
+
echo "No docs available for $target"
20
20
fi
21
21
22
22
if [ -n "$addonInfo" ]; then