rbenv: use installManPage to install the man page

Use installManPage rather than creating the directory and compressing
the file explicitly.
This commit is contained in:
Stephen Checkoway
2026-07-14 08:51:05 -04:00
parent 40924799a9
commit 25475c7ec1
+1 -2
View File
@@ -28,8 +28,7 @@ stdenv.mkDerivation (finalAttrs: {
mkdir -p $out/bin
mv libexec $out
ln -s $out/libexec/rbenv $out/bin/rbenv
mkdir -p $out/share/man/man1
gzip -c share/man/man1/rbenv.1 >$out/share/man/man1/rbenv.1.gz
installManPage share/man/man1/rbenv.1
installShellCompletion --zsh completions/_rbenv
installShellCompletion --bash completions/rbenv.bash