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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user