mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
restic: add completions and man page to package
This commit is contained in:
parent
77fead0181
commit
6760f6dd70
1 changed files with 9 additions and 1 deletions
|
@ -19,8 +19,16 @@ buildGoPackage rec {
|
|||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $bin/bin/
|
||||
mkdir -p \
|
||||
$bin/bin \
|
||||
$bin/etc/bash_completion.d \
|
||||
$bin/share/zsh/vendor-completions \
|
||||
$bin/share/man/man1
|
||||
cp restic $bin/bin/
|
||||
$bin/bin/restic generate \
|
||||
--bash-completion $bin/etc/bash_completion.d/restic.sh \
|
||||
--zsh-completion $bin/share/zsh/vendor-completions/restic.sh \
|
||||
--man $bin/share/man/man1
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
Loading…
Reference in a new issue