lxd: adds bash completions

This commit is contained in:
Meghea Iulian 2019-07-09 19:53:01 +03:00
parent 812b5d3ffd
commit 2bbe28463a

View File

@ -39,6 +39,9 @@ buildGoPackage rec {
exec '${apparmor-parser}/bin/apparmor_parser' -I '${apparmor-profiles}/etc/apparmor.d' "$@"
'')
]}
mkdir -p "$bin/share/bash-completion/completions/"
cp -av go/src/github.com/lxc/lxd/scripts/bash/lxd-client "$bin/share/bash-completion/completions/lxc"
'';
nativeBuildInputs = [ pkgconfig makeWrapper ];