diff options
author | Peter Kolloch <info@eigenvalue.net> | 2018-02-15 09:11:06 +0100 |
---|---|---|
committer | Peter Kolloch <info@eigenvalue.net> | 2018-02-15 09:11:06 +0100 |
commit | 6760f6dd70e7c83e8162d6c04b8faf32afe9bcd0 (patch) | |
tree | 48395c9d613c72ec13897295ddbd3c7eedd27ded /pkgs/tools/backup/restic | |
parent | 77fead018146843ae8dce908af0c6d9404c8c87e (diff) |
restic: add completions and man page to package
Diffstat (limited to 'pkgs/tools/backup/restic')
-rw-r--r-- | pkgs/tools/backup/restic/default.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/tools/backup/restic/default.nix b/pkgs/tools/backup/restic/default.nix index 40d8e0a4fbc49..b7422e311b09a 100644 --- a/pkgs/tools/backup/restic/default.nix +++ b/pkgs/tools/backup/restic/default.nix @@ -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; { |